From 227514c1cfe0f5ddafb84ddc10afb88c3839cfa1 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Fri, 21 Oct 2011 11:19:34 -0700 Subject: [PATCH] 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 --- res/values/strings.xml | 2 -- src/com/android/email/widget/EmailWidget.java | 5 ----- 2 files changed, 7 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 95fa9367b..391565a85 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1169,8 +1169,6 @@ as %s. Your email will appear soon. - - Touch icon to change. Combined Inbox diff --git a/src/com/android/email/widget/EmailWidget.java b/src/com/android/email/widget/EmailWidget.java index f44903aac..21961447d 100644 --- a/src/com/android/email/widget/EmailWidget.java +++ b/src/com/android/email/widget/EmailWidget.java @@ -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 = "";