Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ca8a69d authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Enable media scanner bulk inserts"

parents 659793bc d6b3e0cc
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -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