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

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

Protect GrantCredentialsPermissionActivity against overlay. am: deddb784 am:...

Protect GrantCredentialsPermissionActivity against overlay. am: deddb784 am: 21e36702 am: f312c9e8

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

Change-Id: Ie0a25150cbbd4aeda11f41df9fecebcac4ba7089
parents 888ba5ee f312c9e8
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().addPrivateFlags(
                android.view.WindowManager.LayoutParams
                        .PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS);
        setContentView(R.layout.grant_credentials_permission);
        setTitle(R.string.grant_permissions_header_text);