summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-02-20 14:31:56 -0800
committer William Xiao <wxyz@google.com> 2024-02-22 18:13:12 -0800
commitab6d1114e5a98e65a3c87de17f95c9aa19478b64 (patch)
treedf5249a7597631fc1a354d8d114eb9227a3e06f4 /libs/androidfw/BackupHelpers.cpp
parent5190facc795974ed4477ea4a32442d7e3d4bd10a (diff)
Always return blank scene when communal is not available
The glanceable hub can be disabled for many reasons, such as the flag being turned off or the setting being turned off. Before this change, CommunalRepository was the source of truth of the desired scene state, and anyone observing isCommunalShowing through the interactor would see it incorrectly returning that communal was showing. This change makes the interactor always return Blank for the scene in desiredScene when communal is not available. This prevents clients from seeing an incorrect communal state. Bug: 322549132 Bug: 325868439 Test: atest CommunalInteractorTest MediaHierarchyManagerTest Flag: ACONFIG com.android.systemui.communal_hub STAGING Change-Id: I1b5c7eb81cadb44a7e10135ea92a063589580be9
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions