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

Commit 3a937a63 authored by Jacqueline Huang's avatar Jacqueline Huang Committed by Android (Google) Code Review
Browse files

Merge "Call super in setTitle in CollapsingToolbarBaseActivity" into main

parents d8ad7b77 dbb61e2b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -173,13 +173,12 @@ public class CollapsingToolbarDelegate {
        return mCoordinatorLayout;
    }

    /** Sets the title on the collapsing layout, delegating to host if needed. */
    /** Sets the title on the collapsing layout and delegates to host. */
    public void setTitle(CharSequence title) {
        if (mCollapsingToolbarLayout != null) {
            mCollapsingToolbarLayout.setTitle(title);
        } else {
            mHostCallback.setOuterTitle(title);
        }
        mHostCallback.setOuterTitle(title);
    }

    /** Returns an instance of collapsing toolbar. */