Revert "Death to synchronous transactions (2/2)"

This reverts commit dd05f0365a.

There seems to be some logic that gets triggered inside surface flinger
regarding commit time of the transaction, and without it seems that
animations got jankier. No time to investigate...

Bug: 28305789
Change-Id: I7261cf8719d3528f8f5bee19e507b8ba88b8b729
This commit is contained in:
Jorim Jaggi
2016-04-21 07:12:27 +00:00
parent a20eeda529
commit 3b6e05a2a8

View File

@@ -670,6 +670,7 @@ public class WindowAnimator {
if (SHOW_TRANSACTIONS) Slog.i(
TAG, ">>> OPEN TRANSACTION animateLocked");
SurfaceControl.openTransaction();
SurfaceControl.setAnimationTransaction();
try {
final int numDisplays = mDisplayContentsAnimators.size();
for (int i = 0; i < numDisplays; i++) {