summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2023-03-27 11:17:24 -0700
committer Alejandro Nijamkin <nijamkin@google.com> 2023-03-27 11:48:39 -0700
commit17ced90e60a667475b2236ada32f22d4ce4a8ab7 (patch)
tree08491a1872af9bd13343d9d263ff5cea2b8b5a56 /libs/androidfw/ObbFile.cpp
parentf686be0b538211416fae578a38ad8e3fd8b36adf (diff)
[multi-shade] Fix multi touch bug.
Dragging down with one finger, adding a second finger, then removing the original finger was crashing because the pointer index for the saved off pointer ID is missing. This CL fixes it by seamlessly moving over to the next pointer when the original pointer is lifted. Bug: 274159734 Test: manually verified that (a) the crash doesn't happen and (b) the shaded continues to drag down smoothly without a "jump". Test: I considered a unit test but decided against it because it was going to be very hard to set up MotionEvent instances for different pointers based on the obtain API. Change-Id: Idbc534660b947ce450aa819e1322eb934978de79
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions