Fixing transaction regression.

- Need to call setEarlyWakeup() for each transaction, not just the
  first

Bug: 79204453
Change-Id: Ib83bddb9eaeb7563954bc9d7f584fdd5d302b501
This commit is contained in:
Winson Chung
2018-05-03 10:55:16 -07:00
parent 94262dedb7
commit 9ebc88a381
3 changed files with 3 additions and 1 deletions

View File

@@ -543,6 +543,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
t.deferTransactionUntil(target.leash, surface, getNextFrameNumber(surface));
}
}
t.setEarlyWakeup();
t.apply();
matrix.reset();
@@ -657,6 +658,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
t.setMatrix(app.leash, matrix);
}
}
t.setEarlyWakeup();
t.apply();
matrix.reset();

View File

@@ -167,6 +167,7 @@ public class ClipAnimationHelper {
|| app.activityType == RemoteAnimationTargetCompat.ACTIVITY_TYPE_HOME) {
transaction.setAlpha(app.leash, 1 - progress);
}
transaction.setEarlyWakeup();
mTaskTransformCallback.accept(transaction, app);
}

View File

@@ -60,6 +60,5 @@ public interface RemoteAnimationProvider {
t.setLayer(target.leash, layer);
t.show(target.leash);
}
t.setEarlyWakeup();
}
}