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:
Jeff Sharkey
2016-04-25 22:57:37 +00:00
committed by android-build-merger

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(