Add magic intent to force account creation
* Add entry point via com.android.email.CREATE_ACCOUNT
* Enable when in monkey mode only
* Walks through setup screens as if auto-populated and as if
connection checking always succeeds.
* Refactored some common code in AccountSetupBasicsFragment
* Removed obsolete commentary about auto-population of EAS accts
* Also fix minor typo in FLOW_MODE_ACCOUNT_MANAGER_POP_IMAP
Bug: 2735784
Change-Id: Ie7363836cd267673e963e60ae8bc32cab422576e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1cd69bc..f2230ca 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -107,11 +107,18 @@
>
</activity>
<!-- Must be exported in order for the AccountManager to launch it -->
+ <!-- Also available for continuous test systems to force account creation -->
<activity
android:name=".activity.setup.AccountSetupBasics"
android:label="@string/account_setup_basics_title"
android:exported="true"
>
+ <intent-filter>
+ <action
+ android:name="com.android.email.CREATE_ACCOUNT" />
+ <category
+ android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
<activity
android:name=".activity.setup.AccountSetupAccountType"