Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

am 51f3ef9: am a1e530f: Merge "Phone: IncomingCallWidget shows indefi…

…nitely sometimes."

# By Bin Li
# Via Android Git Automerger (1) and others
* commit '51f3ef904aa6f8de4a8030666f90ff2290e1f7e8':
  Phone: IncomingCallWidget shows indefinitely sometimes.
  • Loading branch information...
commit b4a3465f355a297e4df0973fae685174d397d855 2 parents 8aa2420 + 51f3ef9
Santos Cordon authored Android Git Automerger committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/com/android/phone/InCallTouchUi.java
View
4 src/com/android/phone/InCallTouchUi.java
@@ -1164,6 +1164,10 @@ private void showIncomingCallWidget(Call ringingCall) {
ViewPropertyAnimator animator = mIncomingCallWidget.animate();
if (animator != null) {
animator.cancel();
+ // If animation is cancelled before it's running,
+ // onAnimationCancel will not be called and mIncomingCallWidgetIsFadingOut
+ // will be alway true. hideIncomingCallWidget() will not be excuted in this case.
+ mIncomingCallWidgetIsFadingOut = false;
}
mIncomingCallWidget.setAlpha(1.0f);
Please sign in to comment.
Something went wrong with that request. Please try again.