Merge "Track down Contexts without data directories." into nyc-dev
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