summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2016-02-18 21:17:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-02-18 21:17:50 +0000
commitebddd94caf89f92be5908d71325651864575414f (patch)
tree6d679266cec351353c35597092ad14e4cdb296ce
parentd1f0d576021248cc8aac4cd9845f01c572874f0b (diff)
parentb9663702fefd8131db84b7adb7bd037f4a92b0ba (diff)
Merge "Fix end-call FAB position when dial pad is shown on device rotate." into nyc-dev
-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) {