Restore the "Contacts to display" custom filter (1/3)
* Revert "Remove AccountFilterActivity and its usage (Contacts)"
This reverts commit 1fc8847aa6bef1b6ceb017870d3de90f5960757e.
* But we don't restore the changes to DefaultContactBrowseListFragment
since we won't be starting the "Contacts to display" filter
from an overflow menu option on PeopleActivity.
* In DrawerActivity and PeopleActivity, everywhere we check for
FITLER_TYPE_ALL_ACCOUNTS, we must also accept FILTER_TYPE_CUSTOM,
since either of those can be used for the default/main contacts
list again.
Bug 29185471
Change-Id: Ie77e8acb16980b9015bd1f1f4af9fb7a014f3c51
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d6954b3..4624b9b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -216,6 +216,18 @@
android:theme="@style/ContactsPreferencesTheme"
android:exported="false" />
+ <!-- Used to filter contacts list by account -->
+ <activity
+ android:name=".common.list.AccountFilterActivity"
+ android:label="@string/activity_title_contacts_filter"
+ android:theme="@style/ContactListFilterTheme" />
+
+ <!-- Used to select display and sync groups -->
+ <activity
+ android:name=".common.list.CustomContactListFilterActivity"
+ android:label="@string/custom_list_filter"
+ android:theme="@style/ContactListFilterTheme" />
+
<activity
android:name=".common.activity.RequestPermissionsActivity"
android:label="@string/launcherActivityLabel"