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
6 files changed
tree: eb2b91eaa8fafe6041c27dae82a68888ba771a93
  1. assets/
  2. java/
  3. Android.mk
  4. AndroidManifest.xml
  5. CONTRIBUTING
  6. LICENSE