diff options
author | Beverly <beverlyt@google.com> | 2021-08-25 14:35:16 -0400 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-09-20 22:31:33 +0000 |
commit | 6e36edc402b43cdd9c5b373626fca15e4ecabc23 (patch) | |
tree | 3e41c6bf6a8dd0c9de2f6a3441077a7f0a29a313 | |
parent | 1d12061ff58b998d3ac8f901dbf5c03c541486d3 (diff) | |
download | base-6e36edc402b43cdd9c5b373626fca15e4ecabc23.tar.gz |
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)
(cherry picked from commit 14542738465948c0703fa81237788631a4d6c901)
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java | 9 |
1 files 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 503b5c0ee4b0..1c933505172f 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 */); } } |