summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2015-01-09 19:14:27 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-01-09 19:14:29 +0000
commit2b46774ff950270365238e12e4a336e2004500e2 (patch)
tree9f77e19d758c63eecd30e512aa56feb010e8809f
parent54f9b1eedc86a3066bedf3d8ea3e8ffbb83cb678 (diff)
parent9708669b2fe8ae6aae4274d78d712c276b6fad40 (diff)
Merge "Guard against MountService throwing NPE." into lmp-mr1-dev
-rw-r--r--core/java/android/app/ContextImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java
index 2df35df2009d..2ef046d8e1fa 100644
--- a/core/java/android/app/ContextImpl.java
+++ b/core/java/android/app/ContextImpl.java
@@ -2419,7 +2419,7 @@ class ContextImpl extends Context {
int res = -1;
try {
res = mount.mkdirs(getPackageName(), dir.getAbsolutePath());
- } catch (RemoteException e) {
+ } catch (Exception ignored) {
}
if (res != 0) {
Log.w(TAG, "Failed to ensure directory: " + dir);