diff options
author | David Brazdil <dbrazdil@google.com> | 2016-04-27 10:35:56 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2016-04-27 10:35:56 +0100 |
commit | 14e7acd58c8b4f9f2fd517cded5c4e3099fd5989 (patch) | |
tree | 362f7be09d840fc05d350f6be82ee5ddac86875a /libs/hwui/ProgramCache.cpp | |
parent | 6e5b602552b15ab95dc7b1e4e824f8da6a951fcf (diff) |
Fix infinite loop during package-usage.list file upgrade
When upgrading from version 0 to version 1 of the file
'/data/system/package-usage.list', the PackageManagerService can get
stuck in an infinite loop if one of the listed packages does not
exist, e.g. because it had been uninstalled. Fix the issue by
refactoring the loop.
Bug: 28409278
Change-Id: Ia312bd0d04f696240445b710dd6a68b93c5d5946
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions