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

Commit c7f10e96 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Allow single taps when face-authed.

The FalsingManager now allows single taps on notifications if the
phone has recently been face-authed.

Bug: 172655679
Test: manual
Change-Id: Id3ad2b6bb24ebf1b0cdad3e97e10bc59cbd129ef
parent 20ef395d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -185,8 +185,12 @@ public class BrightLineFalsingManager implements FalsingManager {
            return true;
        }

        // TODO(b/172655679): we always reject single-taps when doing a robust check for now.
        return robustCheck;
        // TODO(b/172655679): More heuristics to come. For now, allow touches through if face-authed
        if (robustCheck) {
            return !mDataProvider.isJustUnlockedWithFace();
        }

        return false;
    }

    @Override