diff options
author | Ruchir Rastogi <ruchirr@google.com> | 2020-06-03 17:29:46 -0700 |
---|---|---|
committer | Ruchir Rastogi <ruchirr@google.com> | 2020-06-05 14:08:37 -0700 |
commit | ef0904eac06a3ad43125d5f259c2d2f619bb846c (patch) | |
tree | 12d053eaef623860ace62bffb31fe91a0d69805d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 5ea18c9036f07633c0fd091c94329573fa588d7b (diff) |
Move GnssStats puller to binder thread
Pass direct executor to setPullAtomCallback. This causes the puller to
run directly on the binder thread, as opposed to the Background thread,
which could be busy with other work.
This change means that the puller can be executed concurrently. To
properly handle that, the Statistics class is made thread-safe.
Test: adb shell cmd stats pull-source 10074
Bug: 157186182
Change-Id: I6c0940fd4ed231f9d962981cc1f9e8c983c48f7f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions