commit | 3a2fe3b2cab150db0dde8d3cd86e2e942a500438 | [log] [tgz] |
---|---|---|
author | Wenyi Wang <wenyiw@google.com> | Wed Jul 06 13:31:41 2016 -0700 |
committer | Wenyi Wang <wenyiw@google.com> | Wed Jul 06 13:31:41 2016 -0700 |
tree | 1594095a3281742969ab654363b289284eb9ea4d | |
parent | ff7476f1363c73d75bea9bf74cddedc7a75e92b0 [diff] |
Reset scroll position AFTER account filter is changed Bug 29964994 Bug 29618694 Change-Id: Ic289e8e1e48ff70ae0f98cd2dc97c61c7dba298d
diff --git a/src/com/android/contacts/activities/PeopleActivity.java b/src/com/android/contacts/activities/PeopleActivity.java index 0ef7427..681c8bf 100644 --- a/src/com/android/contacts/activities/PeopleActivity.java +++ b/src/com/android/contacts/activities/PeopleActivity.java
@@ -521,6 +521,8 @@ } setFilterAndUpdateTitle(mContactListFilterController.getFilter()); + // Scroll to top after filter is changed. + mAllFragment.getListView().setSelection(0); showFabWithAnimation(shouldShowFabForAccount()); invalidateOptionsMenuIfNeeded();