DO NOT MERGE New editor flow
- Added dialog-themed activity that pops up on new contact creation
in 3 cases with a variation of message when there are:
* 0 writable accounts on the device
* 1 writable account
* 2+ writable accounts
- The dialog is displayed whenever a new account is added
to the device or the default account has been removed
- Once an account selection has been made by the user,
we store it in SharedPreferences using ContactEditorUtils
- Slight restyling of the account list adapter
Bug: 5355671
Change-Id: Ib3343a5aea972b366a9df41b9419ad9561c2243d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f4dcdf6..bc1b733 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -502,6 +502,13 @@
android:windowSoftInputMode="adjustResize"
android:exported="false"/>
+ <!-- Accounts changed prompt that can appear when creating a new contact. -->
+ <activity
+ android:name=".activities.ContactEditorAccountsChangedActivity"
+ android:theme="@style/ContactEditorAccountsChangedActivityTheme"
+ android:windowSoftInputMode="adjustResize"
+ android:exported="false"/>
+
<!-- Create a new or edit an existing contact -->
<activity
android:name=".activities.ContactEditorActivity"