Skip to content

Commit 764983d

Browse files
author
Craig Mautner
committed
Separate animation into separate class.
Introduction of the class WindowAnimator which takes care of all animations stepping and Surface operations. Change-Id: I78f1c269fa57df0616c08adbe156e3059709ae48
1 parent 9a69fea commit 764983d

File tree

4 files changed

+675
-649
lines changed

4 files changed

+675
-649
lines changed

services/java/com/android/server/wm/AppWindowToken.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ class AppWindowToken extends WindowToken {
5656
// These are used for determining when all windows associated with
5757
// an activity have been drawn, so they can be made visible together
5858
// at the same time.
59-
int lastTransactionSequence;
59+
// initialize so that it doesn't match mTransactionSequence which is an int.
60+
long lastTransactionSequence = Long.MIN_VALUE;
6061
int numInterestingWindows;
6162
int numDrawnWindows;
6263
boolean inPendingTransaction;
@@ -113,7 +114,6 @@ class AppWindowToken extends WindowToken {
113114
appWindowToken = this;
114115
appToken = _token;
115116
mInputApplicationHandle = new InputApplicationHandle(this);
116-
lastTransactionSequence = service.mTransactionSequence-1;
117117
}
118118

119119
public void setAnimation(Animation anim) {

0 commit comments

Comments
 (0)