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

Commit 82dd9be8 authored by Andy Mast's avatar Andy Mast Committed by Gerrit Code Review
Browse files

Merge "Cleanup app->{theme1,theme2...} mapping on uninstall" into cm-11.0

parents 60ed85d9 c7de7b8b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5584,6 +5584,10 @@ public class PackageManagerService extends IPackageManager.Stub {
                map.remove(opkg.packageName);
            }
            if (map.isEmpty()) {
                mOverlays.remove(target);
            }
            PackageParser.Package targetPkg = mPackages.get(target);
            if (targetPkg != null) {
                String idmapPath = getIdmapPath(targetPkg, opkg);
@@ -5608,6 +5612,7 @@ public class PackageManagerService extends IPackageManager.Stub {
           String idmapPath = getIdmapPath(appPkg, opkg);
           new File(idmapPath).delete();
        }
        mOverlays.remove(appPkg.packageName);
    }
    private void recursiveDelete(File f) {