Remove stale strings in widget.
We can't tap to configure anymore, at least not according to the old method. Bug: 5451924 Change-Id: I997e96a9bab36aecf68a5daeedff6e7442a848a4
This commit is contained in:
parent
7958ce59e6
commit
227514c1cf
@ -1169,8 +1169,6 @@ as <xliff:g id="filename">%s</xliff:g>.</string>
|
||||
<string name="waitinf_for_sync_message_2">Your email will appear soon.</string>
|
||||
|
||||
<!-- Widget -->
|
||||
<!-- Instruction for how to move to different widget views [CHAR LIMIT=20] -->
|
||||
<string name="widget_other_views">Touch icon to change.</string>
|
||||
<!-- Header for the "Combined Inbox" view (showing mail in all inboxes) [CHAR LIMIT=20] -->
|
||||
<string name="widget_all_mail">Combined Inbox</string>
|
||||
<!-- Header for the "Unread" widget view (showing all unread mail) [CHAR LIMIT=20] -->
|
||||
|
@ -95,8 +95,6 @@ public class EmailWidget implements RemoteViewsService.RemoteViewsFactory,
|
||||
private static final int MAX_MESSAGE_LIST_COUNT = 25;
|
||||
|
||||
private static String sSubjectSnippetDivider;
|
||||
@SuppressWarnings("unused")
|
||||
private static String sConfigureText;
|
||||
private static int sSenderFontSize;
|
||||
private static int sSubjectFontSize;
|
||||
private static int sDateFontSize;
|
||||
@ -150,7 +148,6 @@ public class EmailWidget implements RemoteViewsService.RemoteViewsFactory,
|
||||
sDefaultTextColor = res.getColor(R.color.widget_default_text_color);
|
||||
sDefaultTextColor = res.getColor(R.color.widget_default_text_color);
|
||||
sLightTextColor = res.getColor(R.color.widget_light_text_color);
|
||||
sConfigureText = res.getString(R.string.widget_other_views);
|
||||
}
|
||||
mResourceHelper = ResourceHelper.getInstance(mContext);
|
||||
}
|
||||
@ -276,8 +273,6 @@ public class EmailWidget implements RemoteViewsService.RemoteViewsFactory,
|
||||
private void setupTitleAndCount(RemoteViews views) {
|
||||
// Set up the title (view type + count of messages)
|
||||
views.setTextViewText(R.id.widget_title, mMailboxName);
|
||||
// TODO Temporary UX; need to make this visible and create the correct UX
|
||||
//views.setTextViewText(R.id.widget_tap, sConfigureText);
|
||||
views.setViewVisibility(R.id.widget_tap, View.VISIBLE);
|
||||
views.setTextViewText(R.id.widget_tap, mAccountName);
|
||||
String count = "";
|
||||
|
Loading…
Reference in New Issue
Block a user