diff options
author | Andrew Sapperstein <asapperstein@google.com> | 2014-02-24 16:58:57 -0800 |
---|---|---|
committer | Andrew Sapperstein <asapperstein@google.com> | 2014-02-24 20:40:21 -0800 |
commit | a1b5b1b872d58efaadf4ad3cc77ff2354a0e7bcb (patch) | |
tree | 79cdc1f8f59d554226d1de6fbda7edb8988dd791 | |
parent | 7e65b85f087904539252e3a83190058680914999 (diff) | |
download | android_packages_apps_UnifiedEmail-a1b5b1b872d58efaadf4ad3cc77ff2354a0e7bcb.tar.gz android_packages_apps_UnifiedEmail-a1b5b1b872d58efaadf4ad3cc77ff2354a0e7bcb.tar.bz2 android_packages_apps_UnifiedEmail-a1b5b1b872d58efaadf4ad3cc77ff2354a0e7bcb.zip |
Make changeAccount protected and add strings.
b/12552407.
Change-Id: If030a27b1ff1577cc84067b9e1222c8008268dee
-rw-r--r-- | res/values/strings.xml | 4 | ||||
-rw-r--r-- | src/com/android/mail/ui/FolderListFragment.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 6636e3003..dcff24d80 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -221,6 +221,10 @@ <string name="save_attachment">Save</string> <!-- Read email screen, button name. Cancel a downloading attachment. [CHAR LIMIT=10] --> <string name="cancel_attachment">Cancel</string> + <!-- Read email screen, button name. Open an attachment. [CHAR LIMIT=10] --> + <string name="open_attachment">Open</string> + <!-- Read email screen, button name. Install an attachment. [CHAR LIMIT=10] --> + <string name="install_attachment">Install</string> <!-- Read email screen, button name. Redownload an attachment [CHAR LIMIT=20]--> <string name="download_again">Download again</string> <!-- Dialog box title [CHAR LIMIT=30] --> diff --git a/src/com/android/mail/ui/FolderListFragment.java b/src/com/android/mail/ui/FolderListFragment.java index 3332d4e42..0e0ec36cd 100644 --- a/src/com/android/mail/ui/FolderListFragment.java +++ b/src/com/android/mail/ui/FolderListFragment.java @@ -465,7 +465,7 @@ public class FolderListFragment extends ListFragment implements return mFolderWatcher.getUnreadCount(account); } - private void changeAccount(final Account account) { + protected void changeAccount(final Account account) { // Switching accounts takes you to the default inbox for that account. mSelectedFolderType = DrawerItem.FOLDER_INBOX; mNextAccount = account; |