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

Commit 0f6c9281 authored by Shubhi Saxena's avatar Shubhi Saxena Committed by Android (Google) Code Review
Browse files

Merge "Fix wrong recent volumes" into main

parents 7ba44a62 fba2a694
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3980,7 +3980,7 @@ class StorageManagerService extends IStorageManager.Stub
                    if (resUuids.contains(rec.fsUuid)) continue;

                    // Treat as recent if mounted within the last week
                    if (rec.lastSeenMillis > 0 && rec.lastSeenMillis < lastWeek) {
                    if (rec.lastSeenMillis > 0 && rec.lastSeenMillis >= lastWeek) {
                        final StorageVolume userVol = rec.buildStorageVolume(mContext);
                        res.add(userVol);
                        resUuids.add(userVol.getUuid());