commit | 3f3b8933ab6eeb04a2165c5fc190244dd7e307c5 | [log] [tgz] |
---|---|---|
author | Jay Shrauner <shrauner@google.com> | Thu Aug 01 10:03:25 2013 -0700 |
committer | Jay Shrauner <shrauner@google.com> | Fri Aug 02 17:40:01 2013 -0700 |
tree | ee3aa95f64ba50f743321c5db50ad740d3d830cd | |
parent | 1292d1776c5eeaeb26ba278eb7abc1d6543858a9 [diff] |
Add GAL support to Dialer Use new methods implemented for GAL support in Dialer. Bug: Change-Id: I4061ca2f84dba383389046004a2af02539ea5fd9
diff --git a/src/com/android/contacts/activities/ContactSelectionActivity.java b/src/com/android/contacts/activities/ContactSelectionActivity.java index 915c6e1..1eb610a 100644 --- a/src/com/android/contacts/activities/ContactSelectionActivity.java +++ b/src/com/android/contacts/activities/ContactSelectionActivity.java
@@ -500,6 +500,11 @@ } @Override + public void onCallNumberDirectly(String phoneNumber) { + Log.w(TAG, "Unsupported call."); + } + + @Override public void onShortcutIntentCreated(Intent intent) { returnPickerResult(intent); }
diff --git a/src/com/android/contacts/list/LegacyPhoneNumberListAdapter.java b/src/com/android/contacts/list/LegacyPhoneNumberListAdapter.java index bc16a0b..6c310a6 100644 --- a/src/com/android/contacts/list/LegacyPhoneNumberListAdapter.java +++ b/src/com/android/contacts/list/LegacyPhoneNumberListAdapter.java
@@ -106,6 +106,6 @@ label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); } view.setLabel(label); - view.showData(cursor, PHONE_NUMBER_COLUMN_INDEX); + view.showPhoneNumber(cursor, PHONE_NUMBER_COLUMN_INDEX); } }