Modify UiProvider to save recent folders and read them in the spinner.

Things to be done:
0. Use a loader rather than running a query on the main thread
1. Touch folders only when a conversation in the folder is opened, not when the folder is opened.
2. Recent folders for exchange/pop/imap.
3. Tablet label list fragment with recent list.

Change-Id: I9a57c90d48430e865f6fca8b70619fa5e8eb3360
diff --git a/src/com/android/mail/providers/UIProvider.java b/src/com/android/mail/providers/UIProvider.java
index 4458fef..8b19f99 100644
--- a/src/com/android/mail/providers/UIProvider.java
+++ b/src/com/android/mail/providers/UIProvider.java
@@ -96,7 +96,8 @@
             AccountColumns.SYNC_STATUS,
             AccountColumns.HELP_INTENT_URI,
             AccountColumns.COMPOSE_URI,
-            AccountColumns.MIME_TYPE
+            AccountColumns.MIME_TYPE,
+            AccountColumns.RECENT_FOLDER_LIST_URI
     };
 
     public static final int ACCOUNT_ID_COLUMN = 0;
@@ -117,6 +118,7 @@
     public static final int ACCOUNT_HELP_INTENT_URI_COLUMN = 15;
     public static final int ACCOUNT_COMPOSE_INTENT_URI_COLUMN = 16;
     public static final int ACCOUNT_MIME_TYPE_COLUMN = 17;
+    public static final int ACCOUNT_RECENT_FOLDER_LIST_URI_COLUMN = 18;
 
     public static final class AccountCapabilities {
         /**
@@ -284,7 +286,7 @@
          * This string column contains the content provider uri that can be used to query user
          * settings/preferences.
          *
-         * The cursor returned by this query support columnms declared in {@link #SettingsColumns}
+         * The cursor returned by this query support columns declared in {@link #SettingsColumns}
          */
         public static final String SETTINGS_QUERY_URI = "accountSettingsQueryUri";
 
@@ -310,6 +312,10 @@
          * Mime-type defining this account.
          */
         public static final String MIME_TYPE = "mimeType";
+        /**
+         * URI for location of recent folders viewed on this account.
+         */
+        public static final String RECENT_FOLDER_LIST_URI = "recentFolderListUri";
     }
 
     public static final class SearchQueryParameters {