diff options
Diffstat (limited to 'services/java/com/android/server/wm/WindowAnimator.java')
-rw-r--r-- | services/java/com/android/server/wm/WindowAnimator.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/services/java/com/android/server/wm/WindowAnimator.java b/services/java/com/android/server/wm/WindowAnimator.java index 546bf2f..1821b6b 100644 --- a/services/java/com/android/server/wm/WindowAnimator.java +++ b/services/java/com/android/server/wm/WindowAnimator.java @@ -22,6 +22,7 @@ import android.util.TimeUtils; import android.util.TypedValue; import android.view.Display; import android.view.Surface; +import android.view.SurfaceControl; import android.view.WindowManagerPolicy; import android.view.animation.Animation; @@ -529,8 +530,8 @@ public class WindowAnimator { if (WindowManagerService.SHOW_TRANSACTIONS) Slog.i( TAG, ">>> OPEN TRANSACTION animateLocked"); - Surface.openTransaction(); - Surface.setAnimationTransaction(); + SurfaceControl.openTransaction(); + SurfaceControl.setAnimationTransaction(); try { final int numDisplays = mDisplayContentsAnimators.size(); for (int i = 0; i < numDisplays; i++) { @@ -622,7 +623,7 @@ public class WindowAnimator { } catch (RuntimeException e) { Log.wtf(TAG, "Unhandled exception in Window Manager", e); } finally { - Surface.closeTransaction(); + SurfaceControl.closeTransaction(); if (WindowManagerService.SHOW_TRANSACTIONS) Slog.i( TAG, "<<< CLOSE TRANSACTION animateLocked"); } |