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

Skip to content
Commit 280630bf authored by bj1211.jeon's avatar bj1211.jeon Committed by Vishnu Nair
Browse files

Change condition for entering in touchMode

Currenly when motionEvent is injected,
current logic makes touchmode false even if the event's source is STYLUS or MOUSE event,
which seems not an intended behavior that leaving touchMode.

Hence, modify the logic to make sure touchMode is ture only when event source is TOUCHSCREEN.

Bug: b/135752906
Test : run android.view.cts.ViewTest#testTouchMode
(cherry picked from commit 12b99ea7f108ec3b240f6bd569a5c6ab0f925071)
parent 643bbeb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment