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

Commit c10f2b5e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not allow non-system dialogs on UsbConfirmAct" into rvc-qpr-dev am: 2a3a3a1d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13146867

Change-Id: Ia0f3dcd128b4b53a23fd700aebb81ae7fe46919d
parents bc7b2538 2a3a3a1d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ import android.os.UserHandle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.TextView;
@@ -58,6 +60,9 @@ public class UsbConfirmActivity extends AlertActivity

    @Override
    public void onCreate(Bundle icicle) {
        getWindow().addSystemFlags(
                WindowManager.LayoutParams.SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);

        super.onCreate(icicle);

        Intent intent = getIntent();