summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-07-13 22:29:02 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-13 22:29:02 +0000
commit220fdac3b1b8978b440e9c405f8e2642e8084bb3 (patch)
tree27dfd254e81232d77d30d19d27d6f9dd7085765f
parent3378961950762f5102fe25215ea0e24611d227c5 (diff)
parent0cbd1e171e4cc6b0bc69b0714adba867884ef6a6 (diff)
am 0a624eba: Merge "Disable LayoutTransition.CHANGING" into mnc-dev
* commit '0a624eba6d80b1970e05332c3e8877e631f63591': Disable LayoutTransition.CHANGING
-rw-r--r--InCallUI/src/com/android/incallui/CallCardFragment.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java
index d58310cfc..4121390fd 100644
--- a/InCallUI/src/com/android/incallui/CallCardFragment.java
+++ b/InCallUI/src/com/android/incallui/CallCardFragment.java
@@ -19,7 +19,6 @@ package com.android.incallui;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
-import android.animation.LayoutTransition;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.drawable.AnimationDrawable;
@@ -282,9 +281,6 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
mPrimaryName.setElegantTextHeight(false);
mCallStateLabel.setElegantTextHeight(false);
-
- final LayoutTransition transition = mPrimaryCallInfo.getLayoutTransition();
- transition.enableTransitionType(LayoutTransition.CHANGING);
}
@Override
@@ -984,9 +980,6 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
final ViewTreeObserver observer = getView().getViewTreeObserver();
- final LayoutTransition transition = mPrimaryCallInfo.getLayoutTransition();
- transition.disableTransitionType(LayoutTransition.CHANGING);
-
mIsAnimating = true;
observer.addOnGlobalLayoutListener(new OnGlobalLayoutListener() {
@@ -1157,9 +1150,6 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
mPrimaryCallCardContainer.removeOnLayoutChangeListener(layoutChangeListener);
- final LayoutTransition transition = mPrimaryCallInfo.getLayoutTransition();
- transition.enableTransitionType(LayoutTransition.CHANGING);
-
mFloatingActionButtonController.scaleIn(AnimUtils.NO_DELAY);
}