am 2b46774f: Merge "Guard against MountService throwing NPE." into lmp-mr1-dev
* commit '2b46774ff950270365238e12e4a336e2004500e2': Guard against MountService throwing NPE.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user