Update contentDescription of the DismissView when locale changes
am: 68422fd129
Change-Id: I0c7279e7297aba352f3e0e31a520e8f6890e1141
This commit is contained in:
@@ -56,6 +56,8 @@ public class DismissView extends StackScrollerDecorView {
|
|||||||
protected void onConfigurationChanged(Configuration newConfig) {
|
protected void onConfigurationChanged(Configuration newConfig) {
|
||||||
super.onConfigurationChanged(newConfig);
|
super.onConfigurationChanged(newConfig);
|
||||||
mDismissButton.setText(R.string.clear_all_notifications_text);
|
mDismissButton.setText(R.string.clear_all_notifications_text);
|
||||||
|
mDismissButton.setContentDescription(
|
||||||
|
mContext.getString(R.string.accessibility_clear_all));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isButtonVisible() {
|
public boolean isButtonVisible() {
|
||||||
|
|||||||
Reference in New Issue
Block a user