Skip to content

Commit 54c5462

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Separate animation into separate class."
2 parents 8dde7e2 + 764983d commit 54c5462

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)