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

Commit 80af194f authored by Fan Zhang's avatar Fan Zhang Committed by android-build-merger
Browse files

Merge "Set device credential's Window flag to be SECURE." into nyc-dev am: e69c4dcb

am: e79c26a9

Change-Id: I3652f6f77479a339b9acc387a49ee96fe70921ff
parents 629553fb e79c26a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ public abstract class ConfirmDeviceCredentialBaseActivity extends SettingsActivi
            mDark = true;
        }
        super.onCreate(savedState);
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
        mIsKeyguardLocked = savedState == null
                ? getSystemService(KeyguardManager.class).isKeyguardLocked()
                : savedState.getBoolean(STATE_IS_KEYGUARD_LOCKED, false);