diff options
| author | 2022-04-07 14:26:05 +0800 | |
|---|---|---|
| committer | 2022-10-28 17:34:39 +0800 | |
| commit | 5614ca04327d6c1db2dbaccee20f9c52fa4a95e4 (patch) | |
| tree | 291ccb59cd195a89b454737e67215f4fc2340501 /libs/ultrahdr/jpegencoderhelper.cpp | |
| 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
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions