diff options
| author | 2023-10-17 17:27:27 -0700 | |
|---|---|---|
| committer | 2023-10-18 17:55:19 +0000 | |
| commit | d4be328e579680bc9566d899dbc657db9221aa68 (patch) | |
| tree | bd37ad60c9e0b8806b3896ebc82de63513db1402 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 279533e77ceb523f9e99002f68a929461ecebf18 (diff) | |
Check if surfacecontrol is valid in getBufferTransformHint
Fixes a crash when app queries the buffer transform hint but
VIMPL's surfacecontrol is not valid. We should fail gracefully
by providing a default since its hard for the caller to always
know when the surfacecontrol is valid.
Fixes: 301201605
Test: presubmit
Change-Id: I27ce4608bb0de5cbb41afd78d9cd1eb40729e96a
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions