diff options
| author | Shan Huang <shanh@google.com> | 2022-03-23 06:35:08 +0000 |
|---|---|---|
| committer | Shan Huang <shanh@google.com> | 2022-03-23 22:33:36 +0000 |
| commit | 18eec9cf40469b7b688562ea1cd4b7bc65fd591a (patch) | |
| tree | e4aa51199a4f7c9c44cc9c58e9106bddb864b9bd /core/java/android/util/SparseSetArray.java | |
| parent | 7c722ca403d61bf866574d1675926e190b48f21e (diff) | |
Migrate MediaController to use OnBackInvokedDispatcher
The OnBackInvokedCallback will be called when an app is requesting the new back dispatch behavior. Otherwise we keep dispatching KEYCODE_BACK to MediaController.
Test: In BackTestApp, try dismissing media controller by swiping back, both in new and legacy back dispatch.
Change-Id: I9ad3c199277838639c875c78a3a8dfb0963b3ca4
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions
