From 9dc924c8bcc0bc8d996452e9ce3215b5f064962e Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Fri, 12 Sep 2014 09:33:50 -0700 Subject: Renaming Telecomm to Telecom. - Changing package from android.telecomm to android.telecom - Changing package from com.android.telecomm to com.android.server.telecomm. - Renaming TelecommManager to TelecomManager. Bug: 17364651 Change-Id: I44d6d6546cac53232e4e2be0ebe0391d02411309 --- src/com/android/dialer/calllog/CallLogAdapter.java | 2 +- src/com/android/dialer/calllog/CallLogListItemViews.java | 2 +- .../android/dialer/calllog/CallLogNotificationsHelper.java | 8 ++++---- src/com/android/dialer/calllog/IntentProvider.java | 2 +- src/com/android/dialer/calllog/PhoneAccountUtils.java | 14 +++++++------- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/com/android/dialer/calllog') diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java index a90fc556b..e727f7a7f 100644 --- a/src/com/android/dialer/calllog/CallLogAdapter.java +++ b/src/com/android/dialer/calllog/CallLogAdapter.java @@ -27,7 +27,7 @@ import android.os.Handler; import android.os.Message; import android.provider.CallLog.Calls; import android.provider.ContactsContract.PhoneLookup; -import android.telecomm.PhoneAccountHandle; +import android.telecom.PhoneAccountHandle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; diff --git a/src/com/android/dialer/calllog/CallLogListItemViews.java b/src/com/android/dialer/calllog/CallLogListItemViews.java index e95d7b050..dde4c91be 100644 --- a/src/com/android/dialer/calllog/CallLogListItemViews.java +++ b/src/com/android/dialer/calllog/CallLogListItemViews.java @@ -17,7 +17,7 @@ package com.android.dialer.calllog; import android.content.Context; -import android.telecomm.PhoneAccountHandle; +import android.telecom.PhoneAccountHandle; import android.view.View; import android.widget.QuickContactBadge; import android.widget.TextView; diff --git a/src/com/android/dialer/calllog/CallLogNotificationsHelper.java b/src/com/android/dialer/calllog/CallLogNotificationsHelper.java index db37d341b..f6ee8966b 100644 --- a/src/com/android/dialer/calllog/CallLogNotificationsHelper.java +++ b/src/com/android/dialer/calllog/CallLogNotificationsHelper.java @@ -18,7 +18,7 @@ package com.android.dialer.calllog; import android.content.Context; import android.content.Intent; -import android.telecomm.TelecommManager; +import android.telecom.TelecomManager; /** * Helper class operating on call log notifications. @@ -26,9 +26,9 @@ import android.telecomm.TelecommManager; public class CallLogNotificationsHelper { /** Removes the missed call notifications. */ public static void removeMissedCallNotifications(Context context) { - TelecommManager telecommManager = (TelecommManager) - context.getSystemService(Context.TELECOMM_SERVICE); - telecommManager.cancelMissedCallsNotification(); + TelecomManager telecomManager = (TelecomManager) + context.getSystemService(Context.TELECOM_SERVICE); + telecomManager.cancelMissedCallsNotification(); } /** Update the voice mail notifications. */ diff --git a/src/com/android/dialer/calllog/IntentProvider.java b/src/com/android/dialer/calllog/IntentProvider.java index 11dd69f33..874d4ca6b 100644 --- a/src/com/android/dialer/calllog/IntentProvider.java +++ b/src/com/android/dialer/calllog/IntentProvider.java @@ -21,7 +21,7 @@ import android.content.Context; import android.content.Intent; import android.net.Uri; import android.provider.CallLog.Calls; -import android.telecomm.PhoneAccountHandle; +import android.telecom.PhoneAccountHandle; import com.android.contacts.common.CallUtil; import com.android.dialer.CallDetailActivity; diff --git a/src/com/android/dialer/calllog/PhoneAccountUtils.java b/src/com/android/dialer/calllog/PhoneAccountUtils.java index f90ad0dc0..941ac4bc5 100644 --- a/src/com/android/dialer/calllog/PhoneAccountUtils.java +++ b/src/com/android/dialer/calllog/PhoneAccountUtils.java @@ -19,9 +19,9 @@ package com.android.dialer.calllog; import android.content.ComponentName; import android.content.Context; import android.graphics.drawable.Drawable; -import android.telecomm.PhoneAccount; -import android.telecomm.PhoneAccountHandle; -import android.telecomm.TelecommManager; +import android.telecom.PhoneAccount; +import android.telecom.PhoneAccountHandle; +import android.telecom.TelecomManager; import android.text.TextUtils; /** @@ -68,10 +68,10 @@ public class PhoneAccountUtils { */ private static PhoneAccount getAccountOrNull(Context context, PhoneAccountHandle phoneAccount) { - final TelecommManager telecommManager = - (TelecommManager) context.getSystemService(Context.TELECOMM_SERVICE); - final PhoneAccount account = telecommManager.getPhoneAccount(phoneAccount); - if (account == null || !telecommManager.hasMultipleEnabledAccounts()) { + final TelecomManager telecomManager = + (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); + final PhoneAccount account = telecomManager.getPhoneAccount(phoneAccount); + if (account == null || !telecomManager.hasMultipleEnabledAccounts()) { return null; } return account; -- cgit v1.2.3