Loading media/java/android/media/MediaScanner.java +1 −0 Original line number Diff line number Diff line Loading @@ -958,6 +958,7 @@ public class MediaScanner // If the rowId of the inserted file is needed, it gets inserted immediately, // bypassing the bulk inserter. if (inserter == null || needToSetSettings) { inserter.flushAll(); result = mMediaProvider.insert(tableUri, values); } else if (entry.mFormat == MtpConstants.FORMAT_ASSOCIATION) { inserter.insertwithPriority(tableUri, values); Loading Loading
media/java/android/media/MediaScanner.java +1 −0 Original line number Diff line number Diff line Loading @@ -958,6 +958,7 @@ public class MediaScanner // If the rowId of the inserted file is needed, it gets inserted immediately, // bypassing the bulk inserter. if (inserter == null || needToSetSettings) { inserter.flushAll(); result = mMediaProvider.insert(tableUri, values); } else if (entry.mFormat == MtpConstants.FORMAT_ASSOCIATION) { inserter.insertwithPriority(tableUri, values); Loading