diff options
author | Lucas Dupin <dupin@google.com> | 2019-03-21 14:48:23 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2019-03-21 14:48:23 -0700 |
commit | 1946b312dfda7d2e46e602d1d2683c10ac282ca1 (patch) | |
tree | e47ec56a21815a6c48356f989b4ec8fb8b16c391 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions