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

Commit 63223c14 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

am: bcf3bd60

Change-Id: I8ae654a8f46a6d6e998a4597c6396da47334336e
parents d250688c bcf3bd60
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();