Loading core/java/android/content/ContentProvider.java +6 −4 Original line number Original line Diff line number Diff line Loading @@ -1033,12 +1033,14 @@ public abstract class ContentProvider implements ContentInterface, ComponentCall /** @hide */ /** @hide */ public final void setTransportLoggingEnabled(boolean enabled) { public final void setTransportLoggingEnabled(boolean enabled) { if (mTransport != null) { if (enabled) { if (enabled) { mTransport.mInterface = new LoggingContentInterface(getClass().getSimpleName(), this); mTransport.mInterface = new LoggingContentInterface(getClass().getSimpleName(), this); } else { } else { mTransport.mInterface = this; mTransport.mInterface = this; } } } } } /** /** * Implement this to initialize your content provider on startup. * Implement this to initialize your content provider on startup. Loading Loading
core/java/android/content/ContentProvider.java +6 −4 Original line number Original line Diff line number Diff line Loading @@ -1033,12 +1033,14 @@ public abstract class ContentProvider implements ContentInterface, ComponentCall /** @hide */ /** @hide */ public final void setTransportLoggingEnabled(boolean enabled) { public final void setTransportLoggingEnabled(boolean enabled) { if (mTransport != null) { if (enabled) { if (enabled) { mTransport.mInterface = new LoggingContentInterface(getClass().getSimpleName(), this); mTransport.mInterface = new LoggingContentInterface(getClass().getSimpleName(), this); } else { } else { mTransport.mInterface = this; mTransport.mInterface = this; } } } } } /** /** * Implement this to initialize your content provider on startup. * Implement this to initialize your content provider on startup. Loading