commit | 5614ca04327d6c1db2dbaccee20f9c52fa4a95e4 | [log] [tgz] |
---|---|---|
author | tangcheng <tangcheng@xiaomi.com> | Thu Apr 07 14:26:05 2022 +0800 |
committer | tangcheng <tangcheng@xiaomi.com> | Fri Oct 28 17:34:39 2022 +0800 |
tree | 291ccb59cd195a89b454737e67215f4fc2340501 | |
parent | 0a9ada5ce6d500e3aaf5e18b3c94dba292756818 [diff] |
Fix libgui cts crash bug While enabling #define LOG_NDEBUG 0, run camera cts test command: run cts -m CtsCameraTestCases -t android.hardware.camera2.cts.MultiViewTest#testSharedSurfaceImageReaderSwitch the libgui will crash due to nullptr, fix this by add nullptr judgement when pointing to the Graphicbuffer handle Bug: 228349805 Signed-off-by: tangcheng <tangcheng@xiaomi.com> Change-Id: I69a84bdb5208b16df88f5f09f45c1a93ad2afe01