diff options
author | mdooley <mdooley@google.com> | 2018-01-14 09:31:50 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-14 09:34:53 -0800 |
commit | 9fbb81d83f24d6f7ad9832bc16c3a41065eb9337 (patch) | |
tree | e50dd75250358ee2cf1a86eecbbbef2e40daab79 /java/com/android/dialer/voicemailstatus | |
parent | 25f24a79a24334e23706c2a8d69903820c622edb (diff) |
Make sure that voicemail transcriptions are processed serially
Since we are now using the AlarmManager to decide when to poll
for voicemail transcriptions, we need to ensure that we don't
start transcribing a voicemail until polling for the previous
one ends.
This cl postpones a voicemail transcription task if there is an alarm
set to poll for a transcription result. After a transcription result
is received (or we give up) the db is scanned for any pending transcriptions
and the next one is started.
Bug: 70242961
Test: manual and updated unit tests
PiperOrigin-RevId: 181899975
Change-Id: I7b8fb696164980cf710aa58a79418c6954e2b4d2
Diffstat (limited to 'java/com/android/dialer/voicemailstatus')
0 files changed, 0 insertions, 0 deletions