diff --git a/module/src/main/java/rikka/sui/server/SuiService.java b/module/src/main/java/rikka/sui/server/SuiService.java index c8f1cff..cb79ed7 100644 --- a/module/src/main/java/rikka/sui/server/SuiService.java +++ b/module/src/main/java/rikka/sui/server/SuiService.java @@ -367,6 +367,7 @@ public void updateFlagsForUid(int uid, int mask, int value) { if (!allowed || wasHidden) { ActivityManagerApis.forceStopPackageNoThrow(record.packageName, UserHandleCompat.getUserId(record.uid)); + getUserServiceManager().removeUserServicesForPackage(record.packageName); } } }