Merge "Only log when system UID finds missing data paths." into nyc-dev

am: 2c3f2c4

* commit '2c3f2c4da90613bafc93ed34e53867da10084212':
  Only log when system UID finds missing data paths.

Change-Id: I45b729a18db114af24beb17d93243c4d32203236
This commit is contained in:
Jeff Sharkey
2016-04-27 20:41:22 +00:00
committed by android-build-merger

View File

@@ -1958,7 +1958,7 @@ class ContextImpl extends Context {
}
if (res != null) {
if (!res.exists()) {
if (!res.exists() && android.os.Process.myUid() == android.os.Process.SYSTEM_UID) {
Log.wtf(TAG, "Data directory doesn't exist for package " + getPackageName(),
new Throwable());
}