commit | 5e18c43fa7cd0084202a6f092f8a30e826ad9ae1 | [log] [tgz] |
---|---|---|
author | Valerie Hau <vhau@google.com> | Mon Aug 26 12:48:49 2019 -0700 |
committer | Valerie Hau <vhau@google.com> | Mon Aug 26 14:23:52 2019 -0700 |
tree | 9ef7233bb747fac2404f0c45c1f7da38c704db36 | |
parent | b36a5bc699fd561f6d3ec99c244f73fc100f2e3c [diff] |
Do not crash on invalid dataspace Prior logic caused device to crash when setting the dataspace for a layer to hdr on a non-hdr device. Update to log the failure and perform a no-op to match framework APIs. Bug: 140029823 Test: build, boot, CtsViewTestCases:android.view.cts.ASurfaceControlTest Change-Id: I9baf88a6d787e043b440ad4c2ebeb4c7a1fd90a2