diff options
author | Valerie Hau <vhau@google.com> | 2019-08-26 12:48:49 -0700 |
---|---|---|
committer | Valerie Hau <vhau@google.com> | 2019-08-26 14:23:52 -0700 |
commit | 5e18c43fa7cd0084202a6f092f8a30e826ad9ae1 (patch) | |
tree | 9ef7233bb747fac2404f0c45c1f7da38c704db36 /startop/scripts/trace_analyzer/lib/trace2db_test.py | |
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
Diffstat (limited to 'startop/scripts/trace_analyzer/lib/trace2db_test.py')
0 files changed, 0 insertions, 0 deletions