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
This commit is contained in:
Bernardo Rufino
2020-10-23 07:38:42 +00:00
parent 8438eec26a
commit bf4e8931bc

View File

@@ -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