summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2024-06-06 10:01:25 +0200
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2024-06-06 11:37:55 +0200
commit526b787c39b88af7b0c8220f22912e2ba2abe777 (patch)
treed6ea35e4cf81868ef85dbf0a7ee0c2dfba3e8443 /libs/input/PointerController.cpp
parentd233902bcec701b3352cb5ab2eefe2de63ef2380 (diff)
Fix the overscroll placement/composition logic
This CL fixes a broken logic in shouldPlaceElement() and shouldDrawOrComposeSharedElement(): when we are overscrolling, we should only place (or compose in the case of MovableElements) in the scene that is overscrolling. Before this CL, we would both place (compose) in the overscrolling scene *and* in the scene picked by the scene picker. This means that when overscrolling a MovableElement could be composed twice, which should never happen. Bug: 290930950 Test: ElementTest Flag: com.android.systemui.scene_container Change-Id: I8f76d7b30b43434ec2e71af268fc5b51fe106ae2
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions