Update contentDescription of the DismissView when locale changes am: 68422fd129

am: 3e89d004eb

Change-Id: I1fd937793dd687b61e2443f39a8fa2b9a5c1f145
This commit is contained in:
Selim Cinek
2016-09-13 02:17:50 +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() {