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
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 95fa936..391565a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1169,8 +1169,6 @@
<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] -->
diff --git a/src/com/android/email/widget/EmailWidget.java b/src/com/android/email/widget/EmailWidget.java
index f44903a..2196144 100644
--- a/src/com/android/email/widget/EmailWidget.java
+++ b/src/com/android/email/widget/EmailWidget.java
@@ -95,8 +95,6 @@
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 @@
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 @@
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 = "";