Legacy account migration
* Create new activity to encapsulate account upgrade
* Populate it with a list of legacy accounts, and progress bars for each
* Sidestep Welcome when there are legacy accounts to convert
* Super lightweight account migration:
- Account login info only
- no folders, messages, or attachments
* Scrub out old data
* Return to Welcome screen
As noted, the copies working (useable) POP & IMAP accounts, but does
not try to deal with folders, messages, or attachments.
Bug: 2065528
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8eaa175..473ca67 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -55,14 +55,20 @@
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:name="Email">
- <activity android:name=".activity.Welcome">
+ <activity
+ android:name=".activity.Welcome">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-
+ <activity
+ android:name=".activity.UpgradeAccounts"
+ android:label="@string/upgrade_accounts_title"
+ android:theme="@android:style/Theme.NoTitleBar"
+ android:configChanges="keyboardHidden|orientation" >
+ </activity>
<!-- Must be exported in order for the AccountManager to launch it -->
<activity
android:name=".activity.setup.AccountSetupBasics"