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

Commit 32ab50bb authored by Beverly Tai's avatar Beverly Tai Committed by android-build-merger
Browse files

Merge "Hides non-system overlays on USB debugging dialog." into oc-mr1-dev

am: f7964b15

Change-Id: I4f7cc636c3c1cf84de3963947730ac56147131aa
parents 4ebf25b8 f7964b15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ public class UsbDebuggingActivity extends AlertActivity
    @Override
    public void onCreate(Bundle icicle) {
        Window window = getWindow();
        window.addPrivateFlags(WindowManager.LayoutParams.PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
        window.setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);

        super.onCreate(icicle);