commit | fea3fd475dc3f368e3d3be5dd807b7eccf7ab8b5 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon Aug 30 16:52:22 2021 +0000 |
committer | Lucas Dupin <dupin@google.com> | Wed Sep 01 09:34:30 2021 -0700 |
tree | 974c48b44f5d07bc51d73d1fc0e0b962a90709fa | |
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