diff options
author | Zhentao Sun <robinvane@google.com> | 2013-08-29 14:43:35 -0700 |
---|---|---|
committer | Zhentao Sun <robinvane@google.com> | 2013-08-29 16:56:19 -0700 |
commit | d535ead295abf3b74afb6450c83bd197f69c5a26 (patch) | |
tree | bdde0556fc8b716a034a17f2e40add90806aea32 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7be3a138d57713bbe6d624998620081807e65b71 (diff) |
Fixed b/10512887.
This is an issue caused by multi-threading. If geofence provider service
is connected and disconnected immediately, the ServiceWatcher can return a
null service handle to the private thread used by GeofenceProxy, and
this can cause NPE and system crash.
This CL also fixed a hidden race conditions bug where mGeofenceHardware
is not synchronized between two threads.
Change-Id: I824642cd638fbb1e6799a5a1220b047ebc2556a1
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions