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

Commit 320ff004 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [14126781, 14126782, 14127202, 14128466, 14127516,...

Merge cherrypicks of [14126781, 14126782, 14127202, 14128466, 14127516, 14128057, 14127204, 14128747, 14128708, 14128059, 14128686, 14128127, 14128507, 14128809, 14128810, 14128811, 14128812] into security-aosp-pi-release

Change-Id: I40a76fb1045e81d2e9378e180f33d5c18d74038f
parents 188ade07 2bf3ac56
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

package com.android.settings;

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

import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
@@ -72,6 +74,8 @@ public class ActivityPicker extends AlertActivity implements
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getWindow().addPrivateFlags(PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
        
        final Intent intent = getIntent();
        
        // Read base intent from extras, otherwise assume default