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

Commit 92daba9b authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Automerger Merge Worker
Browse files

DO NOT MERGE: Hide overlays over uninstall confirm dialog am: ffae6d17

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/PackageInstaller/+/12952101

Change-Id: I424adb457fe81e1aa5744165155768edaf4f8d3b
parents 28ac5cd6 ffae6d17
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@
*/
package com.android.packageinstaller;

import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS;

import android.app.Activity;
import android.app.ActivityThread;
import android.app.DialogFragment;
@@ -78,6 +80,8 @@ public class UninstallerActivity extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        getWindow().addPrivateFlags(PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);

        super.onCreate(icicle);
        // Get intent information.
        // We expect an intent with URI of the form package://<packageName>#<className>