summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2020-10-08 17:22:33 -0700
committerSongchun Fan <schfan@google.com>2020-10-20 01:13:07 +0000
commit2570ec01c61f06d6a09b9b7811ce4963a62a82f6 (patch)
tree95f14ee2c2c9c70892f9d4ef71305277218ef5d5 /libs/androidfw/ResourceUtils.cpp
parent5c2ad1c98c45d4b0ce41598fb99644a15c8e6f2e (diff)
[incremental/pm] set health listener on commit and on reboot
This changes allow Incremental Service to directly report health status to package manager service. A health listener is created during package installation session to monitor incremental storage health. After commit, a new listener is created and will overwrite the old one. The new listener will listen to incremental storage health and report the status to package manager service, which will then send the status to IncrementalStates, where the startability state and unstartable reason might change, based on the health status code. During reboot, for each incremental package, if it is not fully loaded, the package manager service will register a health status listener to continue monitor the health status of this package. Test: unit test Test: manual BUG: 170435166 Change-Id: I220f230c523cfaf2c96019f9478554665e6af486
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions