summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Darrell Shi <darrellshi@google.com> 2022-11-11 15:11:51 +0000
committer Darrell Shi <darrellshi@google.com> 2022-11-11 17:14:16 +0000
commit4c5add5c98fe7c3e33cd3bfe0160f1c38041010f (patch)
tree30df5bea8c3cb08f1f630fa35cef3cd2ef58a980 /libs/androidfw/StringPool.cpp
parent793936a15be01541a6db70febf5cf6f88c183067 (diff)
Check home controls availability on overlay active.
The callback that home controls observes is only triggered when the controls services update, which is one of the conditions for whether home controls is available. When the user adds the first or removes the last device control, the hasFavorites condition changes but does not trigger an update. So to address that, home controls should check availability when the dream overlay becomes active, parallel to which on the lock screen. Test: DreamHomeControlsComplicationTest Test: reboot device with no favorited device controls > add favorite device controls > start dreaming > see home controls chip Test: similar to above but start with favorites and remove last Bug: 257348199 Fix: 257348199 Change-Id: I537a240963e0523c8fc40008dee961c7a434094a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions