Fix a typo in a condition check in onBackPressed.

Bug: 244635782
Test: Passed presubmit
Change-Id: Iac921c9f7f408e2711645cebaef30dc8d580d790
This commit is contained in:
Rahul Banerjee
2022-10-18 10:44:45 -07:00
parent 4b3a00129e
commit b67c63b886

View File

@@ -1095,7 +1095,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
mCentralSurfaces.endAffordanceLaunch();
// The second condition is for SIM card locked bouncer
if (bouncerIsScrimmed() && needsFullscreenBouncer()) {
if (bouncerIsScrimmed() && !needsFullscreenBouncer()) {
hideBouncer(false);
updateStates();
} else {