Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54bebe1b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update SurfaceControl buffer size when increasing pointer size" into...

Merge "Update SurfaceControl buffer size when increasing pointer size" into sc-v2-dev am: ca15bb84

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15502353

Change-Id: Ie88cce361369085c3c9a02cb1d0aa6c3d2ee59e2
parents cf79a70c ca15bb84
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -153,8 +153,7 @@ void SpriteController::doUpdateSprites() {
                    || update.state.surfaceHeight < desiredHeight) {
                    || update.state.surfaceHeight < desiredHeight) {
                needApplyTransaction = true;
                needApplyTransaction = true;


                t.setSize(update.state.surfaceControl,
                update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight);
                        desiredWidth, desiredHeight);
                update.state.surfaceWidth = desiredWidth;
                update.state.surfaceWidth = desiredWidth;
                update.state.surfaceHeight = desiredHeight;
                update.state.surfaceHeight = desiredHeight;
                update.state.surfaceDrawn = false;
                update.state.surfaceDrawn = false;