commit | 06d38cabf6fb02ee1e04d3e8612d071e573a0bfa | [log] [tgz] |
---|---|---|
author | Dave Mankoff <mankoff@google.com> | Mon Aug 03 16:02:08 2020 -0400 |
committer | Dave Mankoff <mankoff@google.com> | Mon Aug 03 16:04:29 2020 -0400 |
tree | d75abab63ce42e46a7a5c405df416f2a2c771eeb | |
parent | afab5784eab6f6ef093ad3a34da72cc7f9cf6c6c [diff] |
Alert ProxCheck listeners directly when timing out. Before this change, we were relying on the ProximitySensor class to circle back and tell the ProximityCheck class about null results. When the ProximitySensor class changed, this broke ProxCheck. The ProxCheck class now directly alerts its listeners when it times out. A test has been added to cover this case now. Fixes: 162205584 Test: atest SystemUiTests && Manual Change-Id: Ie48589a54daae3e29defde9ed2300f3c7e2b88ae