commit | f801084ed98d0d736a363849991e033581ee008a | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Thu Oct 10 13:55:28 2019 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Thu Oct 10 13:55:28 2019 -0400 |
tree | 513708455aa5af33b884d4242d40faa89d778c02 | |
parent | 0fd72921187fb93ebd6c582ee67f4c0595b5187e [diff] |
Add null check to AsyncSensorManager.requestTriggerSensorImpl. I can't find us passing a null sensor in anywhere, but the stacktrace in the bug shows otherwise. Unfortunately, because of the async nature of this class, the caller is not available. With this change, we will at least get a usefull stacktrace. Bug: 142410226 Test: manual Change-Id: I29547965e6e302f0b873f51e11da2010d2ccaa02