Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1068e6e authored by Walter Jang's avatar Walter Jang
Browse files

Contacts to display preference UI tweaks (2/2)

* Make ContactListFilter.isContactsFilterType non-static
  and also accept the DEFAULT filter type.
* Move the Contacts to display preference under default account
* Show a summary string for the the Contact to display preference

Bug 29185471

Change-Id: I4464d108bfe6cc52102718ba75bb869ba234cfc8
parent 7a47c3d1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -385,6 +385,9 @@
    <!-- Contact list filter selection indicating that the list shows only the selected contact [CHAR LIMIT=64] -->
    <string name="list_filter_single">Contact</string>

    <!-- Contact list filter preference summary indicating that the list shows groups chosen by the user [CHAR LIMIT=64] -->
    <string name="list_filter_custom_preference">Custom view</string>

    <!-- List title for a special contacts group that covers all contacts. [CHAR LIMIT=25] -->
    <string name="display_ungrouped">All other contacts</string>

+5 −5
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@
        android:title="@string/default_editor_account"
        android:dialogTitle="@string/default_editor_account" />

    <Preference
        android:icon="@null"
        android:key="customContactsFilter"
        android:title="@string/menu_contacts_filter"/>

    <com.android.contacts.common.preference.SortOrderPreference
        android:icon="@null"
        android:key="sortOrder"
@@ -44,11 +49,6 @@
        android:title="@string/display_options_view_names_as"
        android:dialogTitle="@string/display_options_view_names_as" />

    <Preference
        android:icon="@null"
        android:key="customContactsFilter"
        android:title="@string/menu_contacts_filter"/>

    <Preference
        android:icon="@null"
        android:key="importExport"