commit | d4be328e579680bc9566d899dbc657db9221aa68 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Oct 17 17:27:27 2023 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Wed Oct 18 17:55:19 2023 +0000 |
tree | bd37ad60c9e0b8806b3896ebc82de63513db1402 | |
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