diff options
author | Adrian DC <radian.dc@gmail.com> | 2017-12-09 11:38:00 -0600 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-12 01:23:35 +0200 |
commit | a00c2995fa806a0418704a026aaee4c4d79f707d (patch) | |
tree | 89a9e6887f47536b6236ea45bdce3306db9e5fa2 /java | |
parent | 8ca4832284f2b0bf5b00aecafcfc81743dce3c4d (diff) |
Dialer: disable anti-falsing for call answer screen
* The anti-falsing implementation from HumanInteractionClassifier
regularly prevents easy swipe to answer, requiring multiple
attempts until accepted.
Change-Id: Iebad27f9da7bb8fea6fc663dc99ac6c17d94ed5f
(cherry picked from commit 583e42df0f6f02f1a6c05dbdc5559f42e99c8727)
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/incallui/answer/impl/answermethod/FlingUpDownTouchHandler.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/java/com/android/incallui/answer/impl/answermethod/FlingUpDownTouchHandler.java b/java/com/android/incallui/answer/impl/answermethod/FlingUpDownTouchHandler.java index a21073d65..7abea5481 100644 --- a/java/com/android/incallui/answer/impl/answermethod/FlingUpDownTouchHandler.java +++ b/java/com/android/incallui/answer/impl/answermethod/FlingUpDownTouchHandler.java @@ -367,21 +367,6 @@ class FlingUpDownTouchHandler implements OnTouchListener { } private boolean isFalseTouch() { - if (falsingManager != null && falsingManager.isEnabled()) { - if (falsingManager.isFalseTouch()) { - if (touchUsesFalsing) { - LogUtil.i("FlingUpDownTouchHandler.isFalseTouch", "rejecting false touch"); - return true; - } else { - LogUtil.i( - "FlingUpDownTouchHandler.isFalseTouch", - "Suspected false touch, but not using false touch rejection for this gesture"); - return false; - } - } else { - return false; - } - } return !touchAboveFalsingThreshold; } |