diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-04-05 14:33:01 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-04-05 18:37:57 -0700 |
commit | 6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8 (patch) | |
tree | a09c600edeea1ef96e388eca20029169186e34c2 /core/java/android/content | |
parent | 01f6b75baa3b9144240fa8c9772859ab4ac948bd (diff) | |
download | frameworks_base-6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8.zip frameworks_base-6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8.tar.gz frameworks_base-6e52b5d76850ee60bbef2f3d8a2e47bd589e28e8.tar.bz2 |
2568467 System crash when installing corrupt APK
Also fix another crash I just saw in the package manager, when a
permission got left around from a previous install but as no
longer defined.
Change-Id: I33b87420f0c59e24b8b77fab8b0316461d99e048
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/pm/PackageParser.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java index b1dcb4a..2a20a2d 100644 --- a/core/java/android/content/pm/PackageParser.java +++ b/core/java/android/content/pm/PackageParser.java @@ -343,6 +343,9 @@ public class PackageParser { } catch (IOException e) { Log.w(TAG, "Exception reading " + je.getName() + " in " + jarFile.getName(), e); + } catch (RuntimeException e) { + Log.w(TAG, "Exception reading " + je.getName() + " in " + + jarFile.getName(), e); } return null; } |