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

Commit 2a2beb98 authored by Jakob Schneider's avatar Jakob Schneider Committed by Android (Google) Code Review
Browse files

Merge "Fix a race condition where the icon directory gets deleted after a...

Merge "Fix a race condition where the icon directory gets deleted after a successful archiving installs." into main
parents af5b892b 4a3070f8
Loading
Loading
Loading
Loading
+12 −15
Original line number Diff line number Diff line
@@ -354,8 +354,6 @@ public class PackageArchiver {
                ps.setArchiveState(/* archiveState= */ null, userId);
            }
        }
        mPm.mBackgroundHandler.post(
                () -> {
        File iconsDir = getIconsDir(packageName, userId);
        if (!iconsDir.exists()) {
            return;
@@ -368,7 +366,6 @@ public class PackageArchiver {
                Slog.e(TAG, "Deleted icons at " + iconsDir.getAbsolutePath());
            }
        }
                });
    }

    @Nullable