Fix stylus hover spot not disappearing
When we turn off the stylus hover icon feature and turn on “show touches”, we will use the touch spot display to show the stylus hover icon. But currently, we don't remove the hover spot after HOVER_EXIT, so the stylus hover spot will never disappear. We should add corresponding logic to handle it. This patch also refines a previous test to ensure that stylus events can be handled correctly by PointerChoreographer. Test: atest inputflinger_tests Flag: EXEMPT bugfix Bug: 353451540 Signed-off-by:Linnan Li <lilinnan@xiaomi.corp-partner.google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:a7cf0f24aa5f979243ea67c99502ed87534ff7c4) Merged-In: I4b04992605ba19bdf3fc5db74580b919ef8356c0 Change-Id: I4b04992605ba19bdf3fc5db74580b919ef8356c0
Loading
Please register or sign in to comment