summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2022-03-07 17:21:47 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2022-03-09 08:57:16 -0500
commitf9e74f5fcec9fc45929e7efca704bf7203192fe9 (patch)
treec053fd6d2f88056b78714b510378dc78fc27c5ed /libs/androidfw/StringPool.cpp
parent71437d58bf43b483d50b2c0219c084a91535f8aa (diff)
Add fallback media layout for notification actions
Adds more button slots which are dynamically shown depending on which actions are supported for the app's media. When PlaybackState actions are available, the large play/pause button will appear, along with prev/next on either side of the progress bar. When Notification actions are used, those buttons will be hidden and up to 5 actions will be shown to the right of the progress bar instead. Also refactored view holder classes and test since both templates have 5 generic action buttons now. Fixes: 218875984 Bug: 218876469 Test: atest MediaControlPanelTest Change-Id: I464834d2eee53d661f2407f6280e2856c96c63ac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions