Merge "Fix for setting Toolbar content descriptions" into lmp-preview-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user