commit | 949add437bb6f1fca9c9f4dee61d9b086c4c5627 | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Thu Feb 11 18:00:23 2021 -0500 |
committer | Dave Mankoff <mankoff@google.com> | Thu Feb 11 18:00:23 2021 -0500 |
tree | b978146e2fbe4c8d760b2f89ef69ccd5b7d40cb6 | |
parent | e89ad03287b05b363defc78447789907cf1d37da [diff] |
Ensure that ProxCheck doesn't run a callback twice. If sensors weren't ready, the callback would be added to a list and executed later if the check was used again. This was erroneous. Fixes: 177675729 Test: atest SystemUITests Change-Id: I9683167bb2c2f17c8fb10764d422e292274b171f