Reject touch when the stylus hovers
At the moment we disable touch when the stylus is in contact with the
screen, but we don't when the stylus is hovering, which is different
from how other platforms operate.
Bug: 301216095
Test: Flashed on real device
Change-Id: I481ec41a82d7de6da28c5b122450e0bd8faea66f
diff --git a/libs/input/input_flags.aconfig b/libs/input/input_flags.aconfig
index f6c5e0d..3672387 100644
--- a/libs/input/input_flags.aconfig
+++ b/libs/input/input_flags.aconfig
@@ -55,3 +55,10 @@
description: "Remove the logic of dropping events due to pending app switch"
bug: "284808102"
}
+
+flag {
+ name: "disable_reject_touch_on_stylus_hover"
+ namespace: "input"
+ description: "Disable touch rejection when the stylus hovers the screen"
+ bug: "301216095"
+}