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

Commit 769e1e31 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 mnc-dev am: 8bffdc26

am: cd66862b

Change-Id: I46830f9d58174aafa138bee67b60e52d0578594b
parents a954c8c7 cd66862b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ public abstract class ConfirmDeviceCredentialBaseActivity extends SettingsActivi
            mDark = true;
        }
        super.onCreate(savedState);
        getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
        boolean deviceLocked = getSystemService(KeyguardManager.class).isKeyguardLocked();
        if (deviceLocked && getIntent().getBooleanExtra(
                ConfirmDeviceCredentialBaseFragment.SHOW_WHEN_LOCKED, false)) {