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

Commit 2e0600f3 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 am: 92daba9b

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

Change-Id: I775e041ec2eb10517ec63a3280ef068dc366ca60
parents c7f24950 92daba9b
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>