summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Darrell Shi <darrellshi@google.com> 2024-04-22 09:45:42 -0700
committer Darrell Shi <darrellshi@google.com> 2024-04-22 16:42:59 -0700
commit2c072561d363fb75c16e30d76f4171b7928e4f55 (patch)
tree35cdb4e7e96d47bead576eb58a8b6dee073ac90f /libs/androidfw/StringPool.cpp
parent9769c56451a884c6351dfcae24052ee7db7c3047 (diff)
Restore communal widgets after host is restored
This change adds an observer to the app widget host restored broadcast. When this signal is received, a backed-up state is expected to have been written on disk and read into memory. The widget ids are updated based on the mapping provided by the broadcast, and database is wiped and restored to the backed up state. Test: atest CommunalWidgetDaoTest Test: atest CommunalWidgetRepositoryImplTest Test: atest CommunalBackupRestoreStartableTest Test: manual; see instructions at go/glanceable-hub-br Bug: 309809222 Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: Ia67bb901e6976d1b7507672e58b53b6bf5b42c81
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions