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

Commit 83269acb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "The JE about "android.process.media" will pop up when you eject the SD...

Merge "The JE about "android.process.media" will pop up when you eject the SD card after you set SD as internel phone storage"
parents 29f0f9a9 03ae44a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1634,7 +1634,7 @@ public class MediaScanner implements AutoCloseable {
            selectionArgs = new String[] { path };
            c = mMediaProvider.query(mFilesUriNoNotify, FILES_PRESCAN_PROJECTION,
                    where, selectionArgs, null, null);
            if (c.moveToFirst()) {
            if (c != null && c.moveToFirst()) {
                long rowId = c.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
                int format = c.getInt(FILES_PRESCAN_FORMAT_COLUMN_INDEX);
                long lastModified = c.getLong(FILES_PRESCAN_DATE_MODIFIED_COLUMN_INDEX);