summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Roy Chou <juchengchou@google.com> 2024-02-19 07:41:55 +0000
committer Roy Chou <juchengchou@google.com> 2024-02-23 03:16:03 +0000
commit00226f776aa632bedca90dc62a770f3c3d1e035c (patch)
treeca4497c1b77e62b9621a80be99bddc4190767a2f /libs/androidfw/FileStream.cpp
parent05ef6674c54770e88b815d9e57b80bf599158278 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions