From 14542738465948c0703fa81237788631a4d6c901 Mon Sep 17 00:00:00 2001 From: Beverly Date: Wed, 25 Aug 2021 14:35:16 -0400 Subject: [PATCH] Always show "Swipe up to open" on tapping empty space on LS Instead of "Press to open" Test: manually touch non-tap target on LS, see 'swipe up to open' Fixes: 196746171 Change-Id: I3583c277bebbb3de2523d18681dda3bb0dcf491f Merged-In: I3583c277bebbb3de2523d18681dda3bb0dcf491f (cherry picked from commit e51d83e1c8660cd9c8b4f3e4ba01ba5c06669204) --- .../systemui/statusbar/KeyguardIndicationController.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java index 503b5c0ee4b03..1c933505172f0 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java @@ -811,13 +811,8 @@ public class KeyguardIndicationController { mStatusBarKeyguardViewManager.showBouncerMessage(message, mInitialTextColorState); } } else if (mKeyguardUpdateMonitor.isScreenOn()) { - if (mKeyguardUpdateMonitor.isUdfpsAvailable()) { - showTransientIndication(mContext.getString(R.string.keyguard_unlock_press), - false /* isError */, true /* hideOnScreenOff */); - } else { - showTransientIndication(mContext.getString(R.string.keyguard_unlock), - false /* isError */, true /* hideOnScreenOff */); - } + showTransientIndication(mContext.getString(R.string.keyguard_unlock), + false /* isError */, true /* hideOnScreenOff */); } }