Rename PhoneAccount to PhoneAccountHandle
Change-Id: I2e97b348e6316a8b3ccc39fd81013e7f514a2889
diff --git a/src/com/android/telecomm/TelecommApp.java b/src/com/android/telecomm/TelecommApp.java
index 15e489a..3884d08 100644
--- a/src/com/android/telecomm/TelecommApp.java
+++ b/src/com/android/telecomm/TelecommApp.java
@@ -20,9 +20,8 @@
import android.content.ComponentName;
import android.net.Uri;
import android.os.UserHandle;
-import android.telecomm.PhoneAccount;
+import android.telecomm.PhoneAccountHandle;
import android.telecomm.PhoneAccountMetadata;
-import android.telephony.PhoneNumberUtils;
/**
* Top-level Application class for Telecomm.
@@ -39,7 +38,7 @@
private MissedCallNotifier mMissedCallNotifier;
/**
- * Maintains the list of registered {@link android.telecomm.PhoneAccount}s.
+ * Maintains the list of registered {@link android.telecomm.PhoneAccountHandle}s.
*/
private PhoneAccountRegistrar mPhoneAccountRegistrar;
@@ -74,11 +73,11 @@
}
private void addHangoutsAccount() {
- // TODO: STOPSHIP. We are adding a hacked PhoneAccount to ensure that Wi-Fi calling in
+ // TODO: STOPSHIP. We are adding a hacked PhoneAccountHandle to ensure that Wi-Fi calling in
// Hangouts continues to work. This needs to be replaced with proper Wi-Fi calling wiring
// to the appropriate Connection Services.
PhoneAccountMetadata hangouts = new PhoneAccountMetadata(
- new PhoneAccount(
+ new PhoneAccountHandle(
new ComponentName(
"com.google.android.talk",
"com.google.android.apps.babel.telephony.TeleConnectionService"),