summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author omarmt <omarmt@google.com> 2024-10-07 14:19:04 +0000
committer omarmt <omarmt@google.com> 2024-10-14 15:53:20 +0000
commit5a8343368f5af8c42fb49417514f59210adb6484 (patch)
tree1069b1698b52b8817dc13480069dc5ff7e98aa66 /api/api_test.go
parent40c5c2310e87c5b998d0263967cc89e230be7074 (diff)
PriorityNestedScrollConnection: make onStop suspendable and add onCancel
The onStop lambda is now a suspend function. This allows for performing long-running operations, such as animations, within the onStop callback. The onCancel lambda has been added, this lambda will be invoked when the nested scrolling operation is canceled, for example, if the user cannot scroll anymore. Test: atest PriorityNestedScrollConnectionTest Bug: 370949877 Flag: com.android.systemui.scene_container Change-Id: I4cc652fe4f6baac800e1484e7bddfbf5510de2b1
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions