Merge "Enable transport logging based on isLoggable()."
This commit is contained in:
@@ -2112,6 +2112,10 @@ public abstract class ContentProvider implements ContentInterface, ComponentCall
|
||||
mSingleUser = (info.flags & ProviderInfo.FLAG_SINGLE_USER) != 0;
|
||||
setAuthorities(info.authority);
|
||||
}
|
||||
if (Build.IS_DEBUGGABLE) {
|
||||
setTransportLoggingEnabled(Log.isLoggable(getClass().getSimpleName(),
|
||||
Log.VERBOSE));
|
||||
}
|
||||
ContentProvider.this.onCreate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user