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

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

Merge "Fix for setting Toolbar content descriptions" into lmp-preview-dev

parents f0db8b62 8e5372fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -592,7 +592,7 @@ public class Toolbar extends ViewGroup {
     */
    public void setNavigationContentDescription(int resId) {
        ensureNavButtonView();
        mNavButtonView.setContentDescription(getContext().getText(resId));
        mNavButtonView.setContentDescription(resId != 0 ? getContext().getText(resId) : null);
    }

    /**