diff --git a/core/java/android/hardware/input/InputManager.java b/core/java/android/hardware/input/InputManager.java index 81ea2f5a17dde..4c6644d14e0e6 100644 --- a/core/java/android/hardware/input/InputManager.java +++ b/core/java/android/hardware/input/InputManager.java @@ -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.