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

Commit 5006597d authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

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
parent e902a646
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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.