summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author omarmt <omarmt@google.com> 2024-11-18 12:55:24 +0000
committer omarmt <omarmt@google.com> 2024-11-18 12:55:24 +0000
commit0c17641bea023b49947845d7948c4d8a89550578 (patch)
tree7ab99bbefbc23c40dc4bf23b0ebeb458d94d74f4 /libs/androidfw/FileStream.cpp
parente2778689c653e66bdf34026ed18011faa7d26c4f (diff)
STL MultiPointerDraggable compute direction using the previousPosition
If the user drags in the opposite direction, the delta becomes zero because we return to the original point. Therefore, we should use the previous event to calculate the direction. Test: atest MultiPointerDraggableTest Bug: 379403509 Flag: com.android.systemui.scene_container Change-Id: I5065f65ed8995b95245c7b744fb4b5d019f416fd
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions