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

Commit bcf3bd60 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

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

am: 8788cffd

Change-Id: I8b69b0f4d3f9d35e5e341a3638ac13106918f015
parents 67a2f7bd 8788cffd
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();