summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2022-04-27 22:56:50 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2022-04-28 22:32:07 -0500
commitecf1d11f7234886d2affb3764cf8fbd0e110bd6f (patch)
treed4a6a7f7226004342d67684854bd696a3602df59 /libs/androidfw/StringPool.cpp
parent809036e63866b2937825a8f08a2523d5bc0a7243 (diff)
Update when PlaybackState state or actions change
Some apps are updating PlaybackState without also posting a new notification, which is looks buggy when using the new actions. This adds a check so that when the PlaybackState updates, if the actions (standard or custom) have changed, or the state has changed between playing or not, MediaDataManager will get notified and update the PlaybackState-based buttons. Fixes: 214335602 Fixes: 229392609 Test: manual - see bug Test: atest MediaTimeoutListenerTest MediaDataManagerTest Change-Id: If2eb02c9c969124ebf193a89ff37edd5b1e6ede1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions