Merge "Fix flashy transition in QuickContacts" into jb-dev

This commit is contained in:
Craig Mautner
2012-05-02 17:23:44 -07:00
committed by Android (Google) Code Review

View File

@@ -85,6 +85,9 @@ public class AppWindowAnimator {
animation = sDummyAnimation;
animInitialized = false;
}
hasTransformation = true;
transformation.clear();
transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0);
}
public void clearAnimation() {
@@ -186,8 +189,6 @@ public class AppWindowAnimator {
// it as not animating for purposes of scheduling transactions;
// when it is really time to animate, this will be set to
// a real animation and the next call will execute normally.
hasTransformation = true;
transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0);
return false;
}