Commit 72e3512
committed
Long press not working if explore by touch and magnification are on.
1. In the magnifier we are caching the touch events until we figure
out whether the user is triple tapping to enable magnification.
If the user is not trying to engage magnification we deliver the
stashed events. However, these events are stale and the subsequent
transformations such as the touch explorer get confused when trying
to detect a tap since the delay is longer than the tap slop.
This change compensates for the time the events were cached
before sending them to the next transformation in the chain.
bug:7362365
Change-Id: Idd8539ffed7ba4892c5a916bd34910fd2ef50f751 parent 48994ce commit 72e3512
File tree
1 file changed
+27
-2
lines changed- services/java/com/android/server/accessibility
1 file changed
+27
-2
lines changedLines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
662 | 663 | | |
663 | 664 | | |
664 | 665 | | |
665 | | - | |
666 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
667 | 672 | | |
668 | 673 | | |
669 | 674 | | |
670 | 675 | | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
671 | 693 | | |
672 | 694 | | |
673 | 695 | | |
| |||
746 | 768 | | |
747 | 769 | | |
748 | 770 | | |
| 771 | + | |
749 | 772 | | |
750 | 773 | | |
751 | 774 | | |
| |||
770 | 793 | | |
771 | 794 | | |
772 | 795 | | |
| 796 | + | |
773 | 797 | | |
774 | 798 | | |
775 | 799 | | |
| |||
793 | 817 | | |
794 | 818 | | |
795 | 819 | | |
| 820 | + | |
796 | 821 | | |
797 | 822 | | |
798 | 823 | | |
| |||
0 commit comments