diff --git a/src/biz/bokhorst/xprivacy/PackageChange.java b/src/biz/bokhorst/xprivacy/PackageChange.java index ceea7241b..7e15fab31 100644 --- a/src/biz/bokhorst/xprivacy/PackageChange.java +++ b/src/biz/bokhorst/xprivacy/PackageChange.java @@ -50,10 +50,6 @@ public void onReceive(final Context context, Intent intent) { // Enable on demand if (ondemand) PrivacyManager.setSetting(uid, PrivacyManager.cSettingOnDemand, Boolean.toString(true)); - - // Restrict new non-system apps - if (!appInfo.isSystem()) - PrivacyManager.applyTemplate(uid, null, true, true); } } diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index 3f2ce2c47..d686d0fe6 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -1298,10 +1298,6 @@ private boolean onDemandDialog(final Hook hook, final PRestriction restriction, // Get application info final ApplicationInfoEx appInfo = new ApplicationInfoEx(context, restriction.uid); - // Check if system application - if (!dangerous && appInfo.isSystem()) - return false; - // Check if activity manager agrees if (!XActivityManagerService.canOnDemand()) return false;