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

Commit afd3a3a0 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Treat empty string as title-set in ToolbarWidgetWrapper" into lmp-dev

parents 6b5db58f 6192b07b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public class ToolbarWidgetWrapper implements DecorToolbar {

        mTitle = toolbar.getTitle();
        mSubtitle = toolbar.getSubtitle();
        mTitleSet = !TextUtils.isEmpty(mTitle);
        mTitleSet = mTitle != null;

        if (style) {
            final TypedArray a = toolbar.getContext().obtainStyledAttributes(null,