diff options
| author | Zhentao Sun <robinvane@google.com> | 2014-12-03 14:27:26 -0800 |
|---|---|---|
| committer | Zhentao Sun <robinvane@google.com> | 2014-12-03 14:34:08 -0800 |
| commit | 4cc80a758c3e4f044c2e53b6210df0e515536a1b (patch) | |
| tree | 1c05ebab9ef7766c0756f4d17760dbedc4d0d17d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | b13c12f58db3026ad30849873b3b6fc664f5ce7b (diff) | |
Fixed a leak in GeofenceHardwareImpl.java.
Bug: 18542685.
This CL includes two changes:
* Fixed a leak of DeathRecipient when geofences are removed from the
hardware.
* Avoid creating more DeathRecipient than needed. Use the underlying
binder object instead of the callback object to tell if they are the
same. So if the client passes the same callback instance to
GeofenceHardwareImpl, only one DeathRecipient is created.
Change-Id: I7809e4bc04df4f9e3590de98a03178b276c821ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
