diff options
| author | 2014-09-10 17:32:11 -0700 | |
|---|---|---|
| committer | 2014-09-10 17:32:14 -0700 | |
| commit | 9b2d26b68347e246e67c588b548e81fca1d29353 (patch) | |
| tree | 56826abb67fb14107edb5416154cb59553a0dc80 /libs/hwui/ProgramCache.cpp | |
| parent | c9d7150680e288f848178fc6c44776c61ddc8548 (diff) | |
Consistent clean up of failed installs.
Instead of remembering to add clean-up logic to every install scan
failure case, rely on the fact that we're now throwing for all errors
and use a finally clause to delete data directory when requested.
When clearing data for a package, always try deleting the app data
directories, even if no record of the package exists. This helps
users recover from UID mismatches without resorting to a full data
wipe.
Bug: 17005516
Change-Id: I352863ef4e468c576ecf136549e21cceae2650d5
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions