diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index 20783feb3..c967c8624 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -1032,9 +1032,7 @@ public void run() { AlertDialog.Builder builder = getOnDemandDialogBuilder(restriction, hook, appInfo, dangerous, result, context, latch); AlertDialog alertDialog = builder.create(); - alertDialog.getWindow().setType( - userId == 0 ? WindowManager.LayoutParams.TYPE_SYSTEM_ALERT - : WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); + alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG); alertDialog.setCancelable(false); alertDialog.setCanceledOnTouchOutside(false); alertDialog.show();