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

Commit 9698646e authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix magnifier border isn't fixed when magnification is working

Overlay layer had been replaced by NonAppWindowContainers which should
ignore the magnify checking while apply the MagnificationSpec.

Bug: 147336371
Test: manual, enable magnifier and move
Change-Id: I83ee5f83dc2e018c934a94fd1f8f11f90402c1eb
parent e6dbe2b8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4931,6 +4931,12 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
                scheduleAnimation();
            }
        }

        @Override
        boolean shouldMagnify() {
            // Omitted from Screen-Magnification
            return false;
        }
    }

    /**