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

Commit 074ada15 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Reset scroll position when account filter is changed

Bug 29618694

Change-Id: Ie0b3b813b439726dc71da85ed01e4bf298bdce07
parent 7d6b8087
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -518,6 +518,9 @@ public class PeopleActivity extends ContactsDrawerActivity implements
            return;
            return;
        }
        }


        // Scroll to top after filter is changed.
        mAllFragment.getListView().setSelectionAfterHeaderView();

        setFilterAndUpdateTitle(mContactListFilterController.getFilter());
        setFilterAndUpdateTitle(mContactListFilterController.getFilter());
        showFabWithAnimation(shouldShowFabForAccount());
        showFabWithAnimation(shouldShowFabForAccount());