diff --git a/src/com/android/email/Utility.java b/src/com/android/email/Utility.java index 81f5f84f1..532cb1383 100644 --- a/src/com/android/email/Utility.java +++ b/src/com/android/email/Utility.java @@ -406,10 +406,6 @@ public class Utility { return getIcon(-1, id); } - public Drawable getIconIds(int type) { - return getIcon(type, -1); - } - /** * Lookup names of localized special mailboxes */ diff --git a/tests/src/com/android/email/UtilityUnitTests.java b/tests/src/com/android/email/UtilityUnitTests.java index 29bd8c452..97ecf935a 100644 --- a/tests/src/com/android/email/UtilityUnitTests.java +++ b/tests/src/com/android/email/UtilityUnitTests.java @@ -112,14 +112,14 @@ public class UtilityUnitTests extends AndroidTestCase { Utility.FolderProperties fp = Utility.FolderProperties.getInstance(mContext); // Make sure they're available - Drawable inbox = fp.getIconIds(Mailbox.TYPE_INBOX); - Drawable mail = fp.getIconIds(Mailbox.TYPE_MAIL); - Drawable parent = fp.getIconIds(Mailbox.TYPE_PARENT); - Drawable drafts = fp.getIconIds(Mailbox.TYPE_DRAFTS); - Drawable outbox = fp.getIconIds(Mailbox.TYPE_OUTBOX); - Drawable sent = fp.getIconIds(Mailbox.TYPE_SENT); - Drawable trash = fp.getIconIds(Mailbox.TYPE_TRASH); - Drawable junk = fp.getIconIds(Mailbox.TYPE_JUNK); + Drawable inbox = fp.getIcon(Mailbox.TYPE_INBOX, -1); + Drawable mail = fp.getIcon(Mailbox.TYPE_MAIL, -1); + Drawable parent = fp.getIcon(Mailbox.TYPE_PARENT, -1); + Drawable drafts = fp.getIcon(Mailbox.TYPE_DRAFTS, -1); + Drawable outbox = fp.getIcon(Mailbox.TYPE_OUTBOX, -1); + Drawable sent = fp.getIcon(Mailbox.TYPE_SENT, -1); + Drawable trash = fp.getIcon(Mailbox.TYPE_TRASH, -1); + Drawable junk = fp.getIcon(Mailbox.TYPE_JUNK, -1); // Make sure they're unique Set set = new HashSet();