summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2022-03-10 11:50:00 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2022-03-14 19:46:19 -0400
commit85dddfc3c6d77105eec3e34099ee52928db7cb4a (patch)
tree5d1b96dfe4f2a4196ec888982d5fa1616ea6ec74 /libs/androidfw/StringPool.cpp
parent8909727b974445a9336008dfae97b33f31ab4932 (diff)
Use compat framework to gate session actions
Adds CompatChange to check if an app posting media controls targets T, and if so, that app's controls will use PlaybackState actions. Otherwise, the notification actions will be used. The MEDIA_SESSION_ACTIONS flag is set to false by default, and can be used to override this and use session actions for all apps. Fixes: 220034304 Test: atest com.android.systemui.media Test: manual - verify in developer settings, override behavior works Change-Id: Ie032fe9ec8ce7d46b1f9dc8f590ed6fbfa7ee9aa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions