commit | 6988f84934ed65b6f8f516ee43c5e38782dff33b | [log] [tgz] |
---|---|---|
author | omarmt <omarmt@google.com> | Tue Jul 02 10:59:57 2024 +0000 |
committer | omarmt <omarmt@google.com> | Wed Jul 03 12:31:09 2024 +0000 |
tree | be3b6cd9634cce0f992cdefac2c715c798b70bf2 | |
parent | 1b459ac9aa67b8120b4ead893179f8fa0185963d [diff] |
Drag events can only start if there is at least one pointer down. In this CL, there needs to be at least one pointer down. That's because, in a later CL, the initial position will be calculated from the instant the pointer touches the screen and it'll be nullified when there are no more pointers on the screen. Test: atest MultiPointerDraggableTest Bug: 330200163 Flag: com.android.systemui.scene_container Change-Id: I58fd5cc2fefeff1284b492c1313dfb64bc12044d