diff options
author | Anthony Hugh <ahugh@google.com> | 2015-12-04 13:30:49 -0800 |
---|---|---|
committer | Anthony Hugh <ahugh@google.com> | 2015-12-04 13:44:07 -0800 |
commit | cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82 (patch) | |
tree | 36baebead202fdece1df84168e3df5761ebf5ac6 /res/values-ms-rMY-watch | |
parent | 741ac03b4367c06d33190b80e2f6a6003a803517 (diff) | |
download | android_packages_apps_PackageInstaller-cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82.tar.gz android_packages_apps_PackageInstaller-cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82.tar.bz2 android_packages_apps_PackageInstaller-cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82.zip |
Fix wake lock leak
Wake lock was not being released when installation failed
due to early bail out call. I wrapped the calls into
a try/finally to ensure it gets released.
Code was tested by tweaking the code to force a failure
and test installing/uninstalling apps.
BUG: 25814793
Change-Id: I2e81e5d76edcfb601ce734cf571705e979c51f32
Diffstat (limited to 'res/values-ms-rMY-watch')
0 files changed, 0 insertions, 0 deletions