Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bade983 authored by Varun Shah's avatar Varun Shah Committed by Android (Google) Code Review
Browse files

Merge "Update mTransport check before trying to configure."

parents a9cebdb5 d5395532
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -1033,14 +1033,15 @@ public abstract class ContentProvider implements ContentInterface, ComponentCall

    /** @hide */
    public final void setTransportLoggingEnabled(boolean enabled) {
        if (mTransport != null) {
        if (mTransport == null) {
            return;
        }
        if (enabled) {
            mTransport.mInterface = new LoggingContentInterface(getClass().getSimpleName(), this);
        } else {
            mTransport.mInterface = this;
        }
    }
    }

    /**
     * Implement this to initialize your content provider on startup.