mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
Fixing transaction regression.
- Need to call setEarlyWakeup() for each transaction, not just the first Bug: 79204453 Change-Id: Ib83bddb9eaeb7563954bc9d7f584fdd5d302b501
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -60,6 +60,5 @@ public interface RemoteAnimationProvider {
|
||||
t.setLayer(target.leash, layer);
|
||||
t.show(target.leash);
|
||||
}
|
||||
t.setEarlyWakeup();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user