diff options
author | Zachary Heidepriem <zachh@google.com> | 2017-11-11 15:03:26 -0800 |
---|---|---|
committer | Zachary Heidepriem <zachh@google.com> | 2017-11-11 15:03:26 -0800 |
commit | 73d995ff88b3a8894c7463a21a24dcec3f8d68e4 (patch) | |
tree | 10724581a5fc2e869e61a396cb1b68119b69e163 /java/com/android/dialer/app/calllog/CallLogAsync.java | |
parent | 5e20ba7b1c6a9644da034b345000b37856d78125 (diff) |
Implement CallingAccountSelector and AssistedDialAction
CallingAccountSelector examines the CallIntentBuilder, and if the PhoneAccountHandle is missing on a multi-SIM device while the default is not set, it will show a dialog to let the user select it. This step used to be after the in call UI is launched and telecom wants dialer to disambiguate. This step is moved to pre call as dialer need more control, like voicemail calls should always prompt, or the preferred SIM info might be available. This also allows telecom to send the selected PhoneAccountHandle to other apps so they have more information on how to rewrite numbers.
AssistedDialAction replaces the step previously in CallIntentBuilder.build(), and rewrites the URI.
Pre-call actions are not hooked up for dialing in this CL yet, assisted dialing will still be broken.
Bug: 64216442
Test: CallingAccountSelectorTest, AssistedDialActionTest
PiperOrigin-RevId: 174917321
Change-Id: Iba2e9092f83c036b402d4044a48ff5c44e806210
Diffstat (limited to 'java/com/android/dialer/app/calllog/CallLogAsync.java')
0 files changed, 0 insertions, 0 deletions