Merge "Add a11y announcement" into sc-dev am: c96c5c68d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14602029 Change-Id: Ic18dc2a102171fa30a257dd92e73b3dc305a9353
This commit is contained in:
@@ -8987,9 +8987,12 @@
|
|||||||
<!-- [CHAR LIMIT=100] preference category title -->
|
<!-- [CHAR LIMIT=100] preference category title -->
|
||||||
<string name="recent_conversations">Recent conversations</string>
|
<string name="recent_conversations">Recent conversations</string>
|
||||||
|
|
||||||
<!-- [CHAR LIMIT=40] button title -->
|
<!-- [CHAR LIMIT=60] button title -->
|
||||||
<string name="conversation_settings_clear_recents">Clear recent conversations</string>
|
<string name="conversation_settings_clear_recents">Clear recent conversations</string>
|
||||||
|
|
||||||
|
<!-- a11y feedeback for 'clear recents' button' -->
|
||||||
|
<string name="recent_convos_removed">Recent conversations removed</string>
|
||||||
|
|
||||||
<!-- a11y string -->
|
<!-- a11y string -->
|
||||||
<string name="clear">Clear</string>
|
<string name="clear">Clear</string>
|
||||||
|
|
||||||
|
@@ -92,6 +92,7 @@ public class RecentConversationsPreferenceController extends AbstractPreferenceC
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
button.announceForAccessibility(mContext.getString(R.string.recent_convos_removed));
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Slog.w(TAG, "Could not clear recents", e);
|
Slog.w(TAG, "Could not clear recents", e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user