diff options
author | Felipe Leme <felipeal@google.com> | 2019-01-17 13:42:35 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2019-01-17 13:52:54 -0800 |
commit | 34ccedf4a8a9c5f3a1fb80df787a0069b3be8bd0 (patch) | |
tree | ce0c398eea5fdb00efab6a5c91e9379d7191e2ec /rs/java/android/renderscript/ProgramStore.java | |
parent | d46c3e29549fbea8797c1d7b82907ebc3771a00d (diff) |
Uses main thread for ContentCaptureManager handler.
Initially it was creating a new thread, which infers in a ~0.3ms cost in the
initial activity creation. Examples:
Before:
com.android.settings: 403.542us
com.google.android.apps.nexuslauncher: 13147.397us
android.contentcaptureservice.cts: 481.979us
After:
com.android.settings: 25.677us
com.google.android.apps.nexuslauncher: 45.0us
android.contentcaptureservice.cts: 56.041us
Test: manually System.out check above
Test: atest CtsContentCaptureServiceTestCases
Fixes: 121039624
Change-Id: I4e7d90c4556467612d8b914fb3d3a5bc05a852bd
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions