summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/dialer/list/ListsFragment.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index b303d0011..9ae5c57f5 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -356,6 +356,11 @@ public class ListsFragment extends Fragment implements CallLogQueryHandler.Liste
prefs.edit().putLong(KEY_LAST_DISMISSED_CALL_SHORTCUT_DATE, mLastCallShortcutDate)
.apply();
fetchCalls();
+
+ LayoutTransition transition = mOverlappingPaneLayout.getLayoutTransition();
+ // Turns on animations for all types of layout changes so that they occur for
+ // height changes.
+ transition.enableTransitionType(LayoutTransition.CHANGING);
}
public void addOnPageChangeListener(OnPageChangeListener onPageChangeListener) {
@@ -420,11 +425,6 @@ public class ListsFragment extends Fragment implements CallLogQueryHandler.Liste
paneLayout.setPanelSlideCallbacks(mPanelSlideCallbacks);
paneLayout.setIntermediatePinnedOffset(
((HostInterface) getActivity()).getActionBarController().getActionBarHeight());
-
- LayoutTransition transition = paneLayout.getLayoutTransition();
- // Turns on animations for all types of layout changes so that they occur for
- // height changes.
- transition.enableTransitionType(LayoutTransition.CHANGING);
}
public SpeedDialFragment getSpeedDialFragment() {