diff options
author | Tyler Gunn <tgunn@google.com> | 2014-09-12 22:16:48 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-09-12 22:16:48 -0700 |
commit | 4b293f0f08030c97e1bb54d2f79ac2fb1a6e29ae (patch) | |
tree | 3d08939fee48787580c0b215084162b578128ea1 /InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java | |
parent | 6861dc525e2caa9ced087e1c11ad0274e6e6ea12 (diff) |
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: Ie5ae18f51baa5da2eb9793785ad0c9d83b6343d1
Diffstat (limited to 'InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java b/InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java index d44047d67..aeb14dfbf 100644 --- a/InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java +++ b/InCallUI/src/com/android/incallui/SelectPhoneAccountDialogFragment.java @@ -16,8 +16,8 @@ package com.android.incallui; -import android.telecomm.PhoneAccount; -import android.telecomm.PhoneAccountHandle; +import android.telecom.PhoneAccount; +import android.telecom.PhoneAccountHandle; import android.app.AlertDialog; import android.app.Dialog; @@ -26,7 +26,7 @@ import android.app.FragmentManager; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; -import android.telecomm.TelecommManager; +import android.telecom.TelecomManager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -36,7 +36,6 @@ import android.widget.ListAdapter; import android.widget.TextView; import com.android.contacts.common.R; -import com.android.contacts.common.editor.SelectAccountDialogFragment; import java.util.List; @@ -46,7 +45,7 @@ import java.util.List; public class SelectPhoneAccountDialogFragment extends DialogFragment { private List<PhoneAccountHandle> mAccountHandles; private boolean mIsSelected; - private TelecommManager mTelecommManager; + private TelecomManager mTelecomManager; private final String mUriScheme; /** @@ -69,9 +68,9 @@ public class SelectPhoneAccountDialogFragment extends DialogFragment { @Override public Dialog onCreateDialog(Bundle savedInstanceState) { mIsSelected = false; - mTelecommManager = - (TelecommManager) getActivity().getSystemService(Context.TELECOMM_SERVICE); - mAccountHandles = mTelecommManager.getPhoneAccountsSupportingScheme(mUriScheme); + mTelecomManager = + (TelecomManager) getActivity().getSystemService(Context.TELECOM_SERVICE); + mAccountHandles = mTelecomManager.getPhoneAccountsSupportingScheme(mUriScheme); final DialogInterface.OnClickListener selectionListener = new DialogInterface.OnClickListener() { @@ -128,7 +127,7 @@ public class SelectPhoneAccountDialogFragment extends DialogFragment { } PhoneAccountHandle accountHandle = getItem(position); - PhoneAccount account = mTelecommManager.getPhoneAccount(accountHandle); + PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); holder.textView.setText(account.getLabel()); holder.imageView.setImageDrawable(account.getIcon(mContext)); return rowView; |