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

Skip to content
Commit 00226f77 authored by Roy Chou's avatar Roy Chou
Browse files

fix(magnification): ensure the old path is cleared when hiding the fullscreen border

In AccessibilityController drawOrRemoveIfNeeded, if new alpha == 0 then the border surface will hide without clearing the current border path. So if next time show the border surface with different bounds, the old border path would also be showing. Therefore, we cache the last usedalpla for drawing, then if new alpha == 0 and cached alpha != 0, which means currently there exists a border path, we would need to clear the path first then hide the surface.

Bug: 325863281
Flag: NA
Test: manually
Change-Id: I81a16edcdd549dd42cf740ccce336b52060c4b5b
parent 05ef6674
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment