commit | cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82 | [log] [tgz] |
---|---|---|
author | Anthony Hugh <ahugh@google.com> | Fri Dec 04 13:30:49 2015 -0800 |
committer | Anthony Hugh <ahugh@google.com> | Fri Dec 04 13:44:07 2015 -0800 |
tree | 36baebead202fdece1df84168e3df5761ebf5ac6 | |
parent | 741ac03b4367c06d33190b80e2f6a6003a803517 [diff] |
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