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

Commit 8788cffd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "WM: Only update magnification bounds when they are visible" into pi-dev

parents d8c77c94 69364f5b
Loading
Loading
Loading
Loading
+25 −26
Original line number Diff line number Diff line
@@ -811,6 +811,7 @@ final class AccessibilityController {
                            return;
                        }
                        mInvalidated = false;
                        if (mAlpha > 0) {
                            Canvas canvas = null;
                            try {
                                // Empty dirty rectangle means unspecified.
@@ -839,8 +840,6 @@ final class AccessibilityController {
                            canvas.drawPath(path, mPaint);

                            mSurface.unlockCanvasAndPost(canvas);

                        if (mAlpha > 0) {
                            mSurfaceControl.show();
                        } else {
                            mSurfaceControl.hide();