Loading res/values/strings.xml +4 −1 Original line number Diff line number Diff line Loading @@ -9104,9 +9104,12 @@ <!-- [CHAR LIMIT=60] button title --> <string name="conversation_settings_clear_recents">Clear recent conversations</string> <!-- a11y feedeback for 'clear recents' button' --> <!-- a11y feedback for 'clear recents' button' --> <string name="recent_convos_removed">Recent conversations removed</string> <!-- a11y feedback for 'clear recent conversation' button' --> <string name="recent_convo_removed">Conversation removed</string> <!-- a11y string --> <string name="clear">Clear</string> src/com/android/settings/notification/app/RecentConversationsPreferenceController.java +2 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,8 @@ public class RecentConversationsPreferenceController extends AbstractPreferenceC pref.setOnClearClickListener(() -> { try { mPs.removeRecentConversation(pkg, UserHandle.getUserId(uid), conversationId); pref.getClearView().announceForAccessibility( mContext.getString(R.string.recent_convo_removed)); parent.removePreference(pref); } catch (RemoteException e) { Slog.w(TAG, "Could not clear recent", e); Loading Loading
res/values/strings.xml +4 −1 Original line number Diff line number Diff line Loading @@ -9104,9 +9104,12 @@ <!-- [CHAR LIMIT=60] button title --> <string name="conversation_settings_clear_recents">Clear recent conversations</string> <!-- a11y feedeback for 'clear recents' button' --> <!-- a11y feedback for 'clear recents' button' --> <string name="recent_convos_removed">Recent conversations removed</string> <!-- a11y feedback for 'clear recent conversation' button' --> <string name="recent_convo_removed">Conversation removed</string> <!-- a11y string --> <string name="clear">Clear</string>
src/com/android/settings/notification/app/RecentConversationsPreferenceController.java +2 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,8 @@ public class RecentConversationsPreferenceController extends AbstractPreferenceC pref.setOnClearClickListener(() -> { try { mPs.removeRecentConversation(pkg, UserHandle.getUserId(uid), conversationId); pref.getClearView().announceForAccessibility( mContext.getString(R.string.recent_convo_removed)); parent.removePreference(pref); } catch (RemoteException e) { Slog.w(TAG, "Could not clear recent", e); Loading