summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--InCallUI/src/com/android/incallui/InCallActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java
index dff27476c..73155a460 100644
--- a/InCallUI/src/com/android/incallui/InCallActivity.java
+++ b/InCallUI/src/com/android/incallui/InCallActivity.java
@@ -780,9 +780,11 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD
showFragment(TAG_DIALPAD_FRAGMENT, true, true);
mDialpadFragment.animateShowDialpad();
}
- mCallCardFragment.onDialpadVisibilityChange(show);
mDialpadFragment.getView().startAnimation(show ? mSlideIn : mSlideOut);
}
+ // Note: onDialpadVisibilityChange is called here to ensure that the dialpad FAB
+ // repositions itself.
+ mCallCardFragment.onDialpadVisibilityChange(show);
final ProximitySensor sensor = InCallPresenter.getInstance().getProximitySensor();
if (sensor != null) {