summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-01-10 15:42:15 -0800
committer William Xiao <wxyz@google.com> 2024-01-11 11:15:39 -0800
commitaa61c7ce63e97b4eb76ea44ae906041559ca8b27 (patch)
treeb9d701af4f0e3659c5d420e50544b80e729b39e6 /libs/androidfw/StringPool.cpp
parent2014926d3f0cc6633827afc88d22d16b2d1405c4 (diff)
Move communal MediaHost init call to view model
MediaHosts need to be initialized before the MediaHierarchyManager attempts to move the UMO to said host or else a crash occurs. MediaHosts can only be initialized once, which just registers them with the MediaHierarchyManager. This CL moves the init from the AndroidView factory, which only runs if media is active, to the ViewModel init, to match the behavior of other MediaHosts. Bug: 311234666 Fixed: 311234666 Test: atest CommunalViewModelTest Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT Change-Id: I27b7ef1ff83e6dd48b0225ad920a8ca1e78b59c5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions