summaryrefslogtreecommitdiff
path: root/packages/PackageInstaller
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2021-01-05 18:27:51 -0800
committerBill Yi <byi@google.com>2021-01-05 18:27:51 -0800
commit2dcac1e2a19200589923a236137dded08a98922d (patch)
treece50f637efc1e37b263903a439748fb28fe431d0 /packages/PackageInstaller
parentbfd05221a3301db98c261fd5b276f904742ac0b2 (diff)
parent513c3b5c2987891832363e79cf6fad60c7d0bd61 (diff)
Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE
Merged-In: I034d45f1afcdd07c0b12e2db7e4134b695ec5c70 Change-Id: I329407db7c9ed7d2b512e505df6e50c4f471fafa
Diffstat (limited to 'packages/PackageInstaller')
-rwxr-xr-xpackages/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java b/packages/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
index be778e92787e..94829b506f95 100755
--- a/packages/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
+++ b/packages/PackageInstaller/src/com/android/packageinstaller/UninstallerActivity.java
@@ -17,6 +17,7 @@
package com.android.packageinstaller;
import static android.app.AppOpsManager.MODE_ALLOWED;
+import static android.view.WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS;
import static com.android.packageinstaller.PackageUtil.getMaxTargetSdkVersionForUid;
@@ -87,6 +88,8 @@ public class UninstallerActivity extends Activity {
@Override
public void onCreate(Bundle icicle) {
+ getWindow().addSystemFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
+
// Never restore any state, esp. never create any fragments. The data in the fragment might
// be stale, if e.g. the app was uninstalled while the activity was destroyed.
super.onCreate(null);