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

Commit cc5b1294 authored by Maurice Chu's avatar Maurice Chu
Browse files

Shows chevron for quick contacts in Favorites

Fixes a regression where the contact tiles on the
7" tablet in Favorites portrait mode no longer showed
the chevron marks on the bottom right corner.

Bug: 6434237
Change-Id: Ided397b4ce5f9b2e866c7dcde6e6e0b74a93c42b
parent fead956d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ public class PeopleActivity extends ContactsActivity
        final FragmentTransaction transaction = fragmentManager.beginTransaction();

        // Prepare the fragments which are used both on 1-pane and on 2-pane.
        boolean isUsingTwoPanes = PhoneCapabilityTester.isUsingTwoPanes(this);
        final boolean isUsingTwoPanes = PhoneCapabilityTester.isUsingTwoPanes(this);
        if (isUsingTwoPanes) {
            mFavoritesFragment = getFragment(R.id.favorites_fragment);
            mAllFragment = getFragment(R.id.all_fragment);
@@ -437,6 +437,9 @@ public class PeopleActivity extends ContactsActivity
            mFavoritesFragment.enableQuickContact(true);
            mFavoritesFragment.setDisplayType(DisplayType.STARRED_ONLY);
        } else {
            // For 2-pane in All and Groups but not in Favorites fragment, show the chevron
            // for quick contact popup
            mFavoritesFragment.enableQuickContact(isUsingTwoPanes);
            mFavoritesFragment.setDisplayType(DisplayType.STREQUENT);
        }