diff options
| author | 2010-10-04 14:23:24 -0700 | |
|---|---|---|
| committer | 2010-10-05 11:12:48 -0700 | |
| commit | 8863c43d9efda108c880814b0a18688b75d70153 (patch) | |
| tree | c77a58ad2624630d406616398153ea33eec5fdda /libs/rs/rsScript.cpp | |
| parent | b9a40068b590b86904b40bf466571b140d0f94b4 (diff) | |
Remove races in Geocoder/LocationProvider Proxy
The proxy must ensure that enable/disable calls are not reordered when
proxied; this change adds synchronization to prevent such reordering
that could happen following an onServiceConnected() callback, and to
ensure cross-thread visibility of writes.
Also, when the package is updated, the old service instance must be
unbound and the new one bound.  This changes uses a separate
Connection object per service instance (package version) to avoid
confusing the binder objects.
Change-Id: I0907f7eed211b97ccfffa395754f1eb8ea8d8fec
Diffstat (limited to 'libs/rs/rsScript.cpp')
0 files changed, 0 insertions, 0 deletions