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

Commit b3485671 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Automerger Merge Worker
Browse files

Protect GrantCredentialsPermissionActivity against overlay. am: f45dcfe1 am:...

Protect GrantCredentialsPermissionActivity against overlay. am: f45dcfe1 am: 3f47c701 am: 765788de am: 3be814cb

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

Change-Id: Iad26f383cb741da5704c691827bd4789bcc86df9
parents 5a9a2bc3 3be814cb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -47,6 +47,9 @@ public class GrantCredentialsPermissionActivity extends Activity implements View

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getWindow().addSystemFlags(
                android.view.WindowManager.LayoutParams
                        .SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
        setContentView(R.layout.grant_credentials_permission);
        setTitle(R.string.grant_permissions_header_text);