summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorZhentao Sun <robinvane@google.com>2014-12-03 14:27:26 -0800
committerZhentao Sun <robinvane@google.com>2014-12-03 14:34:08 -0800
commit4cc80a758c3e4f044c2e53b6210df0e515536a1b (patch)
tree1c05ebab9ef7766c0756f4d17760dbedc4d0d17d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb13c12f58db3026ad30849873b3b6fc664f5ce7b (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