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

Commit 767f72b0 authored by Arc Wang's avatar Arc Wang Committed by Automerger Merge Worker
Browse files

Merge "Revert "Hide non-system overlay window on ActivityPicker"" into pi-dev...

Merge "Revert "Hide non-system overlay window on ActivityPicker"" into pi-dev am: bcc7f89f am: 89d14a36 am: 30ab86df

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

Change-Id: I5a1cc56ebca9f1f9dc289a4622b4db22a62a6f73
parents 83d11beb 30ab86df
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.settings;

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

import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
@@ -74,8 +72,6 @@ public class ActivityPicker extends AlertActivity implements
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        getWindow().addPrivateFlags(SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
        
        final Intent intent = getIntent();
        
        // Read base intent from extras, otherwise assume default