summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2022-12-09 16:30:23 -0800
committer Bryce Lee <brycelee@google.com> 2022-12-09 16:32:43 -0800
commit225ce63f0bb27e9bac050cd960ebd7912dd40470 (patch)
treee52da9e58df4ce6911498a95d26569047536d05d /libs/androidfw/StringPool.cpp
parent2e5bc0914791ed7202bf535c091baf4ae5e23b4e (diff)
Do not allow complications when dream overlay is not enabled.
Complications are currently only hosted by the dream overlay. Dependent logic that listens on the DreamOverlayStateController for changes around complications should not be triggered when the dream overlay is not enabled. This changelist addresses this by preventing the DreamOverlayStateController from accepting complications when the overlay is not enabled (component wise). This change also null checks a complication view retrieved from the view holder before adding it to the layout. Test: atest DreamOverlayStateControllerTest Test: atest ComplicationHostViewControllerTest Fixes: 259859096 Change-Id: Ifa1b4a9da0070a949e422003d3fd4e9ca484a16e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions