From c582b3c20b84e75f7979e9fdca3adbd08648c12d Mon Sep 17 00:00:00 2001 From: "bo.yan" Date: Mon, 19 Sep 2022 13:38:02 +0800 Subject: CtsWindowManagerDeviceTestCases android.server.wm.KeyguardTests#testResumeDismissKeyguardActivityFromBackground --fail Bug: 245466338 Test: TH Change-Id: Ia0a52477fc62b403c678301c8e49561d3b23bedf --- .../src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java index 0b63bbfec877..a77a6000b73b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java @@ -3368,7 +3368,8 @@ public class CentralSurfacesImpl extends CoreStartable implements // lock screen where users can use the UDFPS affordance to enter the device mStatusBarKeyguardViewManager.reset(true); } else if (mState == StatusBarState.KEYGUARD - && !mStatusBarKeyguardViewManager.bouncerIsOrWillBeShowing()) { + && !mStatusBarKeyguardViewManager.bouncerIsOrWillBeShowing() + && isKeyguardSecure()) { mStatusBarKeyguardViewManager.showGenericBouncer(true /* scrimmed */); } } -- cgit v1.2.3-59-g8ed1b