From 81363b6a729991bfbd817dffbd54862b13a4eda6 Mon Sep 17 00:00:00 2001 From: Dave Mankoff Date: Fri, 23 Apr 2021 10:35:58 -0400 Subject: Turn FalsingManager on for Wallet Button Changes such as http://ag/14250946 were probably necessary to make this work reliably. Fixes: 186212376 Test: manual Change-Id: I8a45816fc14f4f7c1952d4db28a5d4807b4da254 --- .../com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java index 8cef23f21383..cabfbca26dfb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java @@ -935,7 +935,9 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL private void onWalletClick(View v) { // More coming here; need to inform the user about how to proceed - mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY); + if (!mFalsingManager.isFalseTap(FalsingManager.LOW_PENALTY)) { + return; + } if (mHasCard) { Intent intent = new Intent(mContext, WalletActivity.class) -- cgit v1.2.3-59-g8ed1b