commit | cef0b39b9211882f59b6bfe1148e2cd247056693 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Jun 12 17:19:43 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Wed Jul 02 12:43:52 2014 +0100 |
tree | 03394664c25a7981063b558a76936278f8f4ea4f | |
parent | 160a6e5b99de15ce755e2e5521dce32d81ab180a [diff] |
Fix native crashes when APKs can't be opened. There was lax / incomplete error checking around the construction of Apk handles. This change changes the ApkHandle API and makes it throw IOException if the zipfile couldn't be opened. Additionally : - Fix a resource leak in DefaultContainerService - Report errors correctly during package moves. bug: 15563874 (cherry picked from commit ec4516470d7ce6e47769591d678c838bd3f6f388) Change-Id: Ia35b464355467d0d36faf34fae85acbbab3f2896