diff options
author | twyen <twyen@google.com> | 2017-09-27 17:11:33 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-28 08:36:37 -0700 |
commit | 96aea2a8f42bfc55dd2b08c51698efb0d0559109 (patch) | |
tree | eb2b91eaa8fafe6041c27dae82a68888ba771a93 /assets | |
parent | f455e6a70d225a28fff2b1922b0e1f4123d94a55 (diff) |
Use goAsync() and dialer executor to insert post call notifications
Previously post call notifications are inserted by launching CallLogNotificationService. This usually works because the call has just broght dialer to the foreground and there are some grace period before the app is consider background again. However if the post call message comes later background check will crash the app.
This CL made the broadcast receiver async and complete the insertion in a worker since it wouldn't take more than a few seconds.
Bug: 66444859
Test: unit tests
PiperOrigin-RevId: 170275928
Change-Id: I0ff396b51a173f2e4bab0bca6b6e5c5b56ab62da
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions