Loading media/java/android/media/MediaScanner.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -314,10 +314,8 @@ public class MediaScanner private final String mExternalStoragePath; private final String mExternalStoragePath; // WARNING: Bulk inserts sounded like a great idea and gave us a good performance improvement, /** whether to use bulk inserts or individual inserts for each item */ // but unfortunately it also introduced a number of bugs. All the known bugs were fixed, private static final boolean ENABLE_BULK_INSERTS = true; // but we need more testing before enabling. private static final boolean ENABLE_BULK_INSERTS = false; // used when scanning the image database so we know whether we have to prune // used when scanning the image database so we know whether we have to prune // old thumbnail files // old thumbnail files Loading Loading
media/java/android/media/MediaScanner.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -314,10 +314,8 @@ public class MediaScanner private final String mExternalStoragePath; private final String mExternalStoragePath; // WARNING: Bulk inserts sounded like a great idea and gave us a good performance improvement, /** whether to use bulk inserts or individual inserts for each item */ // but unfortunately it also introduced a number of bugs. All the known bugs were fixed, private static final boolean ENABLE_BULK_INSERTS = true; // but we need more testing before enabling. private static final boolean ENABLE_BULK_INSERTS = false; // used when scanning the image database so we know whether we have to prune // used when scanning the image database so we know whether we have to prune // old thumbnail files // old thumbnail files Loading