diff options
author | Lucas Dupin <dupin@google.com> | 2021-08-30 16:52:22 +0000 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2021-09-01 09:34:30 -0700 |
commit | fea3fd475dc3f368e3d3be5dd807b7eccf7ab8b5 (patch) | |
tree | 974c48b44f5d07bc51d73d1fc0e0b962a90709fa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e3c1ec9532ff1f25d3f594b30f817c2d9c9d395e (diff) |
Use a SC wrapper when running on background thread
The call that registers a sampling listener happens on the background,
to avoid blocking the main thread. This ca cause the SurfaceControl to
become invalid before we apply it.
Test: atest CompositionSamplingListenerTest
Test: manual
Fixes: 195405459
Change-Id: Iee599b14b905d03c59cb919f70bf2e35144f5a22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions