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

Commit 60ed85d9 authored by Andy Mast's avatar Andy Mast
Browse files

Themes: Delete icon resources during uninstall

Change-Id: Icf247642f9d246c8826f3394f873e4b434ad2b3f
parent 6cdc49ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5594,6 +5594,10 @@ public class PackageManagerService extends IPackageManager.Stub {
            String resPath = ThemeUtils.getResDir(target, opkg);
            recursiveDelete(new File(resPath));
        }
        // Cleanup icons
        String iconResources = ThemeUtils.getIconPackDir(opkg.packageName);
        recursiveDelete(new File(iconResources));
    }
    private void uninstallThemeForApp(PackageParser.Package appPkg) {