diff options
author | Soonil Nagarkar <sooniln@google.com> | 2018-11-02 13:55:51 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2018-11-07 12:22:20 -0800 |
commit | e731ca8931cba465b03ea109ddc304a127a909d3 (patch) | |
tree | 37743e2f036b0f7d6314029c5d2e8fab70688a5e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 20e5558d66e4fa63a6c976f69a69e9be0484e8b5 (diff) |
Refactor ServiceWatcher
Make thread safe and lock free and fixes a variety of minor bugs. Most
of location code is under the synchronization strategy of 'throw
everything behind one massive lock'. This is a bad idea for a variety
of reasons and makes it very difficult to reason about thread safety.
Correcting this will make code easier to read and understand.
Test: Tested manually on device.
Change-Id: I42ad9b4009eabc04227008d6d562dca557087d1f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions