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

Skip to content
Commit 6d4bed94 authored by arthurhung's avatar arthurhung
Browse files

Move drag event to InputDispatcher (7/n)

This CL handle the special case while using a stylus device. During drag
and drop and the primary button was down, we will check the button being
lifted in the future, if that happens, we'll drop the item.

This includes the behavior:
-- Touch screen with stylus -> start drag drop with button pressed ->
   move and drag item -> drop item by releasing button.

We could still drop item when receiving ACTION_UP.

Bug: 19621008
Bug: 158242495
Test: atest inputflinger_tests
Change-Id: Ia84f4fd85367f96272af3a19c3db50c4216de1b0
parent ac3aacf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment