summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author George Chan <georgechan@google.com> 2024-12-11 21:07:11 -0800
committer George Chan <georgechan@google.com> 2024-12-11 21:07:11 -0800
commit0f0ecabffeb97c04e51512bab00026b78211eb17 (patch)
treec55398031131307d3da05e5e1875e676e088fa25 /libs/androidfw/ZipFileRO.cpp
parent619d71249d9adabc9185979cda5ab82ab0dadba4 (diff)
Updated collectAppInfo to handle case where Android package removed uninstalled before BTS has a chance to measure the package split.
In the original flow, apps were not measured until the next time the device has downtime (ie. charging.) so apps that were installed then quickly uninstalled were not measured. With the new callback, measurements are immediate. This means apps that were installed and immediately removed (ie. for testing, suspicious behavior) are now being measured as well, meaning there is a race condition between measurement and uninstallation of the app. Change-Id: I7306d6c88ebb7c78373d8a781e028c3fd17b0f70 Test: atest Bug: 383365281 Flag: EXEMPT low complexity bug fix
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions