diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-01-14 02:22:28 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-14 02:22:28 +0000 |
commit | 1eb06c3e9f097b6e429c48887de8ed8ee22fd2ab (patch) | |
tree | 7bdfbe2ff81046f8f7b33d51b649a689cb2478f1 /cmds/bootanimation/BootAnimation.cpp | |
parent | 6a10c36efe2ae4bff73df9853d49a3dfa59d169a (diff) | |
parent | 2a3d9aaebb57728c8e1d6496a157854f02f7bdd5 (diff) |
Merge "Use ui::Rotation in libgui calls"
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; |