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

Commit 054a87ae authored by /e/ robot's avatar /e/ robot
Browse files

Merge remote-tracking branch 'origin/lineage-16.0' into v1-pie

parents 0e3b0926 9df23a34
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -357,9 +357,8 @@ public class StorageNotification extends SystemUI {
        final VolumeRecord rec = mStorageManager.findRecordByUuid(vol.getFsUuid());
        final DiskInfo disk = vol.getDisk();

        // Don't annoy when user dismissed in past.  (But make sure the disk is adoptable; we
        // used to allow snoozing non-adoptable disks too.)
        if (rec.isSnoozed() && disk.isAdoptable()) {
        // Don't annoy when user dismissed in past.
        if (rec.isSnoozed() && (disk.isAdoptable() || disk.isSd())) {
            return null;
        }

@@ -398,8 +397,7 @@ public class StorageNotification extends SystemUI {
            if (disk.isUsb()) {
                builder.setOngoing(true);
            }
            // Non-adoptable disks can't be snoozed.
            if (disk.isAdoptable()) {
            if (disk.isAdoptable() || disk.isSd()) {
                builder.setDeleteIntent(buildSnoozeIntent(vol.getFsUuid()));
            }