Show a disambig dialoge to choose a number when initiating a call on a contact.
This fixes 2098966
Change-Id: I6fd80a2fe25ab1b6d36d913cb96c7927939512b7
diff --git a/res/layout-finger/set_primary_checkbox.xml b/res/layout-finger/set_primary_checkbox.xml
new file mode 100644
index 0000000..bba8cf9
--- /dev/null
+++ b/res/layout-finger/set_primary_checkbox.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="14dip"
+ android:paddingRight="15dip"
+ android:orientation="vertical">
+
+ <CheckBox
+ android:id="@+id/setPrimary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:focusable="true"
+ android:clickable="true"
+ android:text="@string/make_primary"/>
+</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 46a4210..5974dfc 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -100,10 +100,10 @@
<string name="menu_deleteContact">Delete contact</string>
<!-- Menu item used to call a specific contact when viewing the details of that contact. -->
- <string name="menu_call">Call</string>
+ <string name="menu_call">Call contact</string>
<!-- Menu item used to send an SMS or MMS message to a specific phone number or a contacts default phone number -->
- <string name="menu_sendSMS">Send SMS/MMS</string>
+ <string name="menu_sendSMS">Text contact</string>
<!-- Menu item used to send an email message to a specific email address -->
<string name="menu_sendEmail">Send email</string>
@@ -822,6 +822,15 @@
<!-- Label for onscreen "Dial" button -->
<string name="dial_button_label">Dial</string>
+
+ <!-- Title for the call disambiguation dialog -->
+ <string name="call_disambig_title">Call using</string>
+
+ <!-- Title for the sms disambiguation dialog -->
+ <string name="sms_disambig_title">Text using</string>
+
+ <!-- Message next to disamgiguation dialog check box -->
+ <string name="make_primary">Remember this choice</string>
<!-- Shown as a toast when the user taps on a Fast-Track icon, and no application
was found that could perform the selected action -->