diff options
author | twyen <twyen@google.com> | 2018-03-07 12:12:24 -0800 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2018-03-07 12:50:21 -0800 |
commit | 73a74c3c709c87d4ad9860c1fbda585c139235e0 (patch) | |
tree | a998b9dae213f71b989f533245ca399c06e08178 /java/com/android/contacts | |
parent | 28b252f6e0e4d42551a31d1b197f2eedf7b6a7d5 (diff) | |
download | android_packages_apps_Dialer-73a74c3c709c87d4ad9860c1fbda585c139235e0.tar.gz android_packages_apps_Dialer-73a74c3c709c87d4ad9860c1fbda585c139235e0.tar.bz2 android_packages_apps_Dialer-73a74c3c709c87d4ad9860c1fbda585c139235e0.zip |
Handle preferred SIM for ACTION_CALL
Previously preferred SIM is handled only by precall, which covers dialing with dialer or with the special receiver contacts uses. If a third party app uses ACTION_CALL or telecomManager.placeCall(), then the in call UI will be launched directly and the old account selection dialog will be used without preferred SIM support.
In this CL logic from CallingAccountSelector is refactored out so InCallActivity can use it for the dialog.
Bug: 73718976
Test: Unit tests, In call UI not covered.
PiperOrigin-RevId: 188214007
Change-Id: Ifaacf982a3e98601dc362b649c3501d4ee96e63e
Diffstat (limited to 'java/com/android/contacts')
-rw-r--r-- | java/com/android/contacts/common/res/values/strings.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/com/android/contacts/common/res/values/strings.xml b/java/com/android/contacts/common/res/values/strings.xml index dbe97ea39..809439ee5 100644 --- a/java/com/android/contacts/common/res/values/strings.xml +++ b/java/com/android/contacts/common/res/values/strings.xml @@ -372,7 +372,11 @@ <string name="set_default_account">Always use this for calls</string> <!-- Title for dialog to select Phone Account for outgoing call. [CHAR LIMIT=40] --> - <string name="select_phone_account_for_calls">Call with</string> + <string name="select_phone_account_for_calls">Choose SIM for this call</string> + + <!-- Checkbox label when selecting a SIM when calling a contact, to use the selected SIM for the + same contact and never ask again [CHAR LIMIT=40]--> + <string name="select_phone_account_for_calls_remember">Remember this choice</string> <!-- String used for actions in the dialer call log and the quick contact card to initiate a call to an individual. The user is prompted to enter a note which is sent along with |