diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2013-04-11 10:40:33 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2013-04-12 09:37:59 -0700 |
commit | 2e90089766c047687662d402819018b308e83d15 (patch) | |
tree | 4e5693dabd93383891828aaa83b65b0a6ff9cc7b /docs/html/sdk/api_diff/10/changes | |
parent | 6d0c1d78f121d4f1b72973740e8b120c7def1dc0 (diff) |
Fix race condition and disable call.
1. A dispatch event can happen as soon you call enabled,
and we won't be ready to receive it. Also add error checks
and not crash if such a thing happens.
2. Java layer shouldn't call disable on the native layer
for trigger sensors. Native layer will clean up on its own.
b/8165631
Change-Id: Icbe76bd1f50632c0bcb0b3b04975b2c2f20ff36b
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions