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
This commit is contained in:
Beverly
2021-08-25 14:35:16 -04:00
committed by Beverly Tai
parent e454d516ec
commit e51d83e1c8

View File

@@ -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 */);
}
}