diff options
| author | 2019-02-04 17:52:27 -0800 | |
|---|---|---|
| committer | 2019-02-04 18:30:12 -0800 | |
| commit | 3fe6e92440f763d34e21e4c85aeed7207eb520a1 (patch) | |
| tree | 59c383d796a91ffd44c2964380c8d3a44fa7cf8d /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 01297698a13a36779b897905281e9e9b22aa995a (diff) | |
Make ContentCapture calls directly from the UI thread.
Most calls are bufffered anyways, so by not using a handler we save time spent
on getting a pooled lambda and posting to the the handler.
The only "expensive" operation is flushing, but it makes a oneway binder call
so it might be fine (and if necessary, we can optimize it later).
Bug: 123307965
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I7182c8e193f58fa000396fdb3003e771214bf79b
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions