Update contentDescription of the DismissView when locale changes

am: 68422fd129

Change-Id: I0c7279e7297aba352f3e0e31a520e8f6890e1141
This commit is contained in:
Selim Cinek
2016-09-13 02:05:21 +00:00
committed by android-build-merger

View File

@@ -56,6 +56,8 @@ public class DismissView extends StackScrollerDecorView {
protected void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
mDismissButton.setText(R.string.clear_all_notifications_text);
mDismissButton.setContentDescription(
mContext.getString(R.string.accessibility_clear_all));
}
public boolean isButtonVisible() {