equal
deleted
inserted
replaced
316 TInt index = supportedCaptureFormats.Find(orderedFormats[orderedElements]); |
316 TInt index = supportedCaptureFormats.Find(orderedFormats[orderedElements]); |
317 if(KErrNotFound != index) |
317 if(KErrNotFound != index) |
318 { |
318 { |
319 supportedCaptureFormats.Remove(index); |
319 supportedCaptureFormats.Remove(index); |
320 //insert at insertindex position to make sure that value inserted at begening. |
320 //insert at insertindex position to make sure that value inserted at begening. |
321 supportedCaptureFormats.Insert(orderedFormats[orderedElements], insertIndex); |
321 supportedCaptureFormats.InsertL(orderedFormats[orderedElements], insertIndex); |
322 insertIndex++; |
322 insertIndex++; |
323 }//else nothing |
323 }//else nothing |
324 } |
324 } |
325 |
325 |
326 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
326 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
379 TInt index = supportedPlaybackFormats.Find(orderedFormats[orderedElements]); |
379 TInt index = supportedPlaybackFormats.Find(orderedFormats[orderedElements]); |
380 if(KErrNotFound != index) |
380 if(KErrNotFound != index) |
381 { |
381 { |
382 supportedPlaybackFormats.Remove(index); |
382 supportedPlaybackFormats.Remove(index); |
383 //insert at insertindex position to make sure that value inserted at begening. |
383 //insert at insertindex position to make sure that value inserted at begening. |
384 supportedPlaybackFormats.Insert(orderedFormats[orderedElements], insertIndex); |
384 supportedPlaybackFormats.InsertL(orderedFormats[orderedElements], insertIndex); |
385 insertIndex++; |
385 insertIndex++; |
386 }//else nothing |
386 }//else nothing |
387 } |
387 } |
388 |
388 |
389 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |
389 //The formats which are defined in Device Service Extension should not be reported by GetDeviceInfo |