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

Skip to content
Commit d4be328e authored by Vishnu Nair's avatar Vishnu Nair
Browse files

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
parent 279533e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment