diff options
| author | 2024-04-19 22:10:41 -0700 | |
|---|---|---|
| committer | 2024-04-22 15:30:23 -0700 | |
| commit | d83539864f3cedfff301502b4c858aebbeda070e (patch) | |
| tree | f4cc8f95e035f5fe0fa7d72d21cdf9219c0f94d5 /libs/androidfw/StringPool.cpp | |
| parent | a8b13c9531c9aa8f22d9f2bfb16bef27aa7e2f35 (diff) | |
Backup & restore communal state
This change introduces a backup helper responsible for backing up and
restoring the communal database. At backup, the helper requests a
snapshot of the database in the form of a proto buffer, and writes it to
the backup output stream. And at restore, the helper reads data from the
input stream and writes it to a file for later use.
Test: atest CommunalBackupHelperTest
Test: atest CommunalBackupUtilsTest
Test: manually; see instructions at go/glanceable-hub-br
Bug: 309809222
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: Ieb59f6018708213b70d8e12de12741927783b4cb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions