diff options
author | Rich Cannings <richc@google.com> | 2010-09-09 15:12:40 -0700 |
---|---|---|
committer | Rich Cannings <richc@google.com> | 2010-09-09 16:28:48 -0700 |
commit | 8d578836dc4f9fb41532b8b3dd7a6b168d6f4f9d (patch) | |
tree | 0b1d4c4c5f51e723f9139244d9ac05d0a77fa847 /services | |
parent | 76e4fa19264793e3ed7e2ee7afccfc808a1a7458 (diff) | |
download | frameworks_base-8d578836dc4f9fb41532b8b3dd7a6b168d6f4f9d.zip frameworks_base-8d578836dc4f9fb41532b8b3dd7a6b168d6f4f9d.tar.gz frameworks_base-8d578836dc4f9fb41532b8b3dd7a6b168d6f4f9d.tar.bz2 |
Remove the use of FileInputStream.available()
Bug: 2976294
Change-Id: I34b13cedbf1d2338163ef74454817c318a3a24f5
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/PackageManagerService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/java/com/android/server/PackageManagerService.java b/services/java/com/android/server/PackageManagerService.java index e3480a8..1279cf7 100644 --- a/services/java/com/android/server/PackageManagerService.java +++ b/services/java/com/android/server/PackageManagerService.java @@ -9408,7 +9408,12 @@ class PackageManagerService extends IPackageManager.Stub { } catch (NoSuchAlgorithmException nsae) { Slog.e(TAG, "Failed to create encryption keys with exception: " + nsae); return null; + } catch (IOException ioe) { + Slog.e(TAG, "Failed to retrieve encryption keys with exception: " + + ioe); + return null; } + } /* package */ static String getTempContainerId() { |