Add change id for FLAG_SLIPPERY

We need to figure out whether any apps are using FLAG_SLIPPERY. Ideally,
we should lock this down and only allow it for system uses. Add a change
id for this logging here.

Bug: 157929241
Test: adb shell dumpsys platform_compat
Change-Id: I7a12828e768a145054d31fbf07f130a2f06735de
This commit is contained in:
Siarhei Vishniakou
2020-12-03 12:46:41 -10:00
parent e902a646ce
commit 5006597d68

View File

@@ -209,6 +209,14 @@ public final class InputManager {
@ChangeId
public static final long BLOCK_UNTRUSTED_TOUCHES = 158002302L;
/**
* Check whether apps are using FLAG_SLIPPERY for their windows. We expect that this flag is
* only used by the system components. If so, we can lock it down.
* @hide
*/
@ChangeId
public static final long BLOCK_FLAG_SLIPPERY = android.os.IInputConstants.BLOCK_FLAG_SLIPPERY;
/**
* Input Event Injection Synchronization Mode: None.
* Never blocks. Injection is asynchronous and is assumed always to be successful.