Merge "Fix flashy transition in QuickContacts" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
232301b027
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user