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

Commit bf4e8931 authored by Bernardo Rufino's avatar Bernardo Rufino
Browse files

Block untrusted touches in permissive mode

Don't block the touch but show a toast and log a message. After having
fixed b/166617888, we should start getting dogfood feedback.

Test: Simulate untrusted touch and verify toast
Bug: 158002302
Change-Id: I7de1bfc2bb4b7d7ce018790b33b1c162f3ebe82a
parent 8438eec2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ public final class InputManager {
     */
    @BlockUntrustedTouchesMode
    public static final int DEFAULT_BLOCK_UNTRUSTED_TOUCHES_MODE =
            BlockUntrustedTouchesMode.DISABLED;
            BlockUntrustedTouchesMode.PERMISSIVE;

    /**
     * Prevent touches from being consumed by apps if these touches passed through a non-trusted