Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b0f6ce97 authored by Adrian DC's avatar Adrian DC Committed by Michael Bestas
Browse files

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 583e42df)
parent adaeac61
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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;
  }