summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-08-26 12:48:49 -0700
committerValerie Hau <vhau@google.com>2019-08-26 14:23:52 -0700
commit5e18c43fa7cd0084202a6f092f8a30e826ad9ae1 (patch)
tree9ef7233bb747fac2404f0c45c1f7da38c704db36 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
parentb36a5bc699fd561f6d3ec99c244f73fc100f2e3c (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 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions