Merge "Track down Contexts without data directories." into nyc-dev

This commit is contained in:
Jeff Sharkey
2016-04-25 21:59:40 +00:00
committed by Android (Google) Code Review

View File

@@ -1958,6 +1958,10 @@ class ContextImpl extends Context {
}
if (res != null) {
if (!res.exists()) {
Log.wtf(TAG, "Data directory doesn't exist for package " + getPackageName(),
new Throwable());
}
return res;
} else {
throw new RuntimeException(