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

Commit ee6eeb39 authored by jiayongqiang's avatar jiayongqiang Committed by Alec Mouri
Browse files

Provide a default pixel snap matrix if Surface has been destroyed when


executing buildLayer.

If run buildLayer but the Surface has been destroyed, the nullptr
issue will occure from `SkiaVulkanPipeline::getPixelSnapMatrix()`.

Bug: 406206414
Flag: EXEMPT trivial bug fix
Signed-off-by: default avatarjiayongqiang <jiayongqiang@xiaomi.com>
(cherry picked from https://android-review.googlesource.com/q/commit:e417f924f34c53193d982e91fdbd1898a2257ed6)
Merged-In: I8ec98e544686ff57e55d9c37ad08b9e5f62ea74e
Change-Id: I8ec98e544686ff57e55d9c37ad08b9e5f62ea74e
parent 29f2ae3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment