diff options
author | Dominik Laskowski <domlaskowski@google.com> | 2019-11-18 20:26:39 -0800 |
---|---|---|
committer | Dominik Laskowski <domlaskowski@google.com> | 2020-01-07 12:28:16 -0800 |
commit | 2a3d9aaebb57728c8e1d6496a157854f02f7bdd5 (patch) | |
tree | 16b5fa32a41e0f8511ac44d5e68d259e664391b0 /cmds/bootanimation/BootAnimation.cpp | |
parent | 05528bc6906a7e6b413b19cb8bbf57402af2fd55 (diff) |
Use ui::Rotation in libgui calls
Bug: 144601064
Test: Build
Change-Id: I46d6974e67dcae2d42766f08c899c56dddd795e9
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 459520a3eb27..8fac31a05c49 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -1113,7 +1113,7 @@ void BootAnimation::handleViewport(nsecs_t timestep) { SurfaceComposerClient::Transaction t; t.setPosition(mFlingerSurfaceControl, 0, -mTargetInset) .setCrop(mFlingerSurfaceControl, Rect(0, mTargetInset, mWidth, mHeight)); - t.setDisplayProjection(mDisplayToken, 0 /* orientation */, layerStackRect, displayRect); + t.setDisplayProjection(mDisplayToken, ui::ROTATION_0, layerStackRect, displayRect); t.apply(); mTargetInset = mCurrentInset = 0; |