summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Darrell Shi <darrellshi@google.com> 2024-04-19 17:42:07 -0700
committer Darrell Shi <darrellshi@google.com> 2024-04-22 15:29:21 -0700
commita8b13c9531c9aa8f22d9f2bfb16bef27aa7e2f35 (patch)
tree27e0d9a8a0150e4906cb93c44fae8d8d35a97ec5 /libs/androidfw/StringPool.cpp
parent3473ec33074d26c1a9920efc1ef2c241304dbbd1 (diff)
Introduce communal state proto for backup & restore
- Add a communal_hub_state proto buffer that represents the state of the database, used for backup & restore - Add a utility that takes a snapshot of the database and converts it to a state protobuf - Add a DAO transaction that takes a snapshot of the database and returns a state proto - Make CommunalDatabase a singleton for access outside of the dagger dependency graph Test: atest CommunalBackupUtilsTest Bug: 309809222 Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: Id43281e198f9e56f7bcfb930d47b58ca4571098e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions