summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2019-10-03 13:20:08 -0700
committerJohn Reck <jreck@google.com>2019-10-03 13:20:08 -0700
commit8d0da1a6c5271d7f803b665d6a0784a2ca74d3c8 (patch)
tree7f0ef5c0346a2a08a121ca2f4289d90e461438a1 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parente548ea7764636378f2970282043868033ec45b47 (diff)
Ensure SKP serialization occurs on RenderThread
Instead of doing lazy serialization of SKP on the background executor serialize to a byte[] immediately at callback invocation. This ensures no potential for later mutations, race conditions, or wrong-thread issues at the expense of potentially impacting app rendering performance. However it seems preferable for a debug-only tool to be a slow instead of very crashy. Bug: 141772764 Test: test app Change-Id: I3316d49970b96f1c59bb0a28ff7335db608e539e
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions