diff options
| author | 2022-11-09 16:04:11 +0000 | |
|---|---|---|
| committer | 2022-11-20 20:45:27 +0000 | |
| commit | 2801c741d336624b8f11f1ada8c81d327ed52f64 (patch) | |
| tree | c2497974cca00166a3335807d095a2917c0112f9 /libs/androidfw/StringPool.cpp | |
| parent | 104604674f01be4cf4b9d35d38ed14bd1046e987 (diff) | |
Ask transport for a monitor during restore
The current API is designed so that the requester of the restore
operation passes in a BackupManagerMonitor. This functionality is
currently unused, so effectively we'll start asking for a monitor every
time.
Note that the requester and transport are not necessarily the same
entity in the current API definition. This means in the future the
requester can start passing in a monitor which would mean we stop asking
the transport for one. This is not ideal so while it's infeasible now,
in the future we can investigate formally coupling the transport and the
requester in the API.
Bug: 254815434, 254641961
Test: This class is not testable without a major refactor.
atest CtsBackupHostTestCases
Also manually by ensuring getBackupManagerMonitor() gets called when
running 'adb shell bmgr restore` for KV and full backup packages.
Change-Id: I8892ed7e3aa04ca771c9628b44751a9fdef4aad2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions