Loading res/values/strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1271,6 +1271,9 @@ <!-- Section title for the page containing the contact's social updates on the contact card [CHAR LIMIT=20]--> <string name="recent_updates">Recent</string> <!-- Label that contains the social update from a contact on the contact card. The text should appear as a quotation. [CHAR LIMIT=5] --> <string name="recent_updates_tab_text">\"<xliff:g id="update_text">%s</xliff:g>\"</string> <!-- String describing which account type a contact came from when editing it --> <string name="account_type_format"><xliff:g id="source" example="Gmail">%1$s</xliff:g> contact</string> Loading src/com/android/contacts/detail/ContactDetailDisplayUtils.java +2 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,8 @@ public class ContactDetailDisplayUtils { if (!contactData.getStreamItems().isEmpty()) { StreamItemEntry firstEntry = contactData.getStreamItems().get(0); snippet = Html.fromHtml(firstEntry.getText()); // Add quotes around the text snippet = context.getString(R.string.recent_updates_tab_text, snippet); if (!firstEntry.getPhotos().isEmpty()) { StreamItemPhotoEntry firstPhoto = firstEntry.getPhotos().get(0); photoUri = firstPhoto.getPhotoUri(); Loading Loading
res/values/strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1271,6 +1271,9 @@ <!-- Section title for the page containing the contact's social updates on the contact card [CHAR LIMIT=20]--> <string name="recent_updates">Recent</string> <!-- Label that contains the social update from a contact on the contact card. The text should appear as a quotation. [CHAR LIMIT=5] --> <string name="recent_updates_tab_text">\"<xliff:g id="update_text">%s</xliff:g>\"</string> <!-- String describing which account type a contact came from when editing it --> <string name="account_type_format"><xliff:g id="source" example="Gmail">%1$s</xliff:g> contact</string> Loading
src/com/android/contacts/detail/ContactDetailDisplayUtils.java +2 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,8 @@ public class ContactDetailDisplayUtils { if (!contactData.getStreamItems().isEmpty()) { StreamItemEntry firstEntry = contactData.getStreamItems().get(0); snippet = Html.fromHtml(firstEntry.getText()); // Add quotes around the text snippet = context.getString(R.string.recent_updates_tab_text, snippet); if (!firstEntry.getPhotos().isEmpty()) { StreamItemPhotoEntry firstPhoto = firstEntry.getPhotos().get(0); photoUri = firstPhoto.getPhotoUri(); Loading