commit | 1946b312dfda7d2e46e602d1d2683c10ac282ca1 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Mar 21 14:48:23 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Thu Mar 21 14:48:23 2019 -0700 |
tree | e47ec56a21815a6c48356f989b4ec8fb8b16c391 | |
parent | 2e5dd8cffe49d7cac98ae39b6224c787e66b6ba1 [diff] |
Ignore prox data when it's obsolete The proximity sensor response is asynchronous, this means that the user might have interacted with the phone while sensor data is being processed. Let's ignore its response in case it arrives late. Fixes: 129012983 Test: press power while uncovering prox sensor Change-Id: Ib31e6c53b9f5993349c5eaed6122af5228d07728