Merge "Track down Contexts without data directories." into nyc-dev
am: 3a10c1e
* commit '3a10c1e86db9843462660d825a9673a3c72ccdd6':
Track down Contexts without data directories.
Change-Id: Id6934369489b8a60e8d6ceb3de8f7774c5128ed6
This commit is contained in:
@@ -1958,6 +1958,10 @@ class ContextImpl extends Context {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
|
if (!res.exists()) {
|
||||||
|
Log.wtf(TAG, "Data directory doesn't exist for package " + getPackageName(),
|
||||||
|
new Throwable());
|
||||||
|
}
|
||||||
return res;
|
return res;
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException(
|
throw new RuntimeException(
|
||||||
|
|||||||
Reference in New Issue
Block a user