diff options
| author | 2024-10-17 14:38:00 +0000 | |
|---|---|---|
| committer | 2024-10-22 09:55:42 +0000 | |
| commit | a1c2d87b297b0041379fb334af4978171809f9f5 (patch) | |
| tree | 0d10b847a19e469f2678f168c37fd5c1cb0fa2f9 /libs/androidfw/ObbFile.cpp | |
| parent | b82fcf5c7adffd07adb05562a99668a771e741e3 (diff) | |
Do not use defaultInstance for persistent repo
In following cases we used default instances to populate the repo:
- If task details for a taskId is not contained in the persisted repo
- If there is a problem reading the persistent repository
These might result in populating the in-memory repo with non-existing
states that are not removed. Instead use null values so we never add any
tasks to repo in case persistent state is not correct.
Bug: 371955621
Test: Manual
Flag: EXEMPT Bugfix
Change-Id: Idbe0663cf143a489ceb596bc0b92690ebb1706ff
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions