diff options
author | wangqi <wangqi@google.com> | 2017-07-11 15:48:57 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-07-12 09:43:41 -0700 |
commit | 26c4fbb22fd91bd7ff8aa129e92e665415cc5922 (patch) | |
tree | 4ecf4483fa8da31a263268945e153cf8c1040af2 /java/com/android/dialer/calllogutils/AndroidManifest.xml | |
parent | 4e707bb5d1a9ab1c668e834b2c56e6b75d1f82d7 (diff) |
Fix bug that proximity sensor is turned on too early.
This is caused by setting call state to OUTGOING after it's created but before
it's connecting, which incorrectly switches state as NO_CALL -> OUTGOING ->
PENDING_OUTGOING -> OUTGOING.
The fix is giving it PENDING_OUTGOING state if an outgoing call is initialized
but still not yet getting update from telecom to CONNECTING (in which case the
call will be IDLE state).
Bug: 62965119
Test: manual
PiperOrigin-RevId: 161594187
Change-Id: I02c8b4dcb0bfd5101bc69f48bb99c66d4831b72e
Diffstat (limited to 'java/com/android/dialer/calllogutils/AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions