Enable early wakeup during transitions

We hit GL comp likely on some devices so we start composing
earlier to avoid jank.

Bug: 75985430
Change-Id: I94ff218c79fb512002a2fb7f8aa600d6662f269e
This commit is contained in:
Jorim Jaggi
2018-04-04 17:36:51 +02:00
parent 9ae484b95d
commit f4beeb8dfb
3 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@@ -363,6 +363,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
t.show(target.leash);
}
}
t.setEarlyWakeup();
t.apply();
matrix.reset();
@@ -636,6 +637,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
t.show(target.leash);
}
}
t.setEarlyWakeup();
t.apply();
matrix.reset();
@@ -763,6 +765,7 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
t.show(app.leash);
}
}
t.setEarlyWakeup();
t.apply();
matrix.reset();

View File

@@ -121,6 +121,7 @@ public class ClipAnimationHelper {
transaction.show(app.leash);
}
}
transaction.setEarlyWakeup();
transaction.apply();
}