summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2023-01-19 21:24:03 -0600
committer Beth Thibodeau <ethibodeau@google.com> 2023-01-20 12:20:38 -0600
commitef3c5dc9ee7f5efd01e2448f2c96169a2392a3d4 (patch)
treee4182f3decbf3a025681bc3d0658ff72f620d051 /libs/androidfw/AssetsProvider.cpp
parentbdb5065a41c92fab9f1bbb3fbfce95948da14caa (diff)
Retain media controls longer
When the flag is enabled, apps which have not added support for resumption via MediaBrowserService will still be set to a resume state when the underlying notification (for apps using notification-based actions) or session (for apps using PlaybackState actions) have gone away, if this occurs after they've already timed out. These resume controls will not have a play button, but just open the app's launcher intent when tapped. If the control hadn't timed out yet, it will be removed from the carousel as before. For apps which do implement long-term resumption, they will continue to convert into resume state regardless of whether the active player had already timed out. Test: atest com.android.systemui.media.controls Bug: 264691138 Change-Id: I13a43bfc2eca342000726e696afe77706947d774
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions