Rename PhoneAccountMetadata to PhoneAccount
Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
diff --git a/src/com/android/telecomm/Call.java b/src/com/android/telecomm/Call.java
index 5b5bf09..9cd5d6f 100644
--- a/src/com/android/telecomm/Call.java
+++ b/src/com/android/telecomm/Call.java
@@ -269,21 +269,21 @@
*
* @param handle The handle to dial.
* @param gatewayInfo Gateway information to use for the call.
- * @param account Account information to use for the call.
+ * @param accountHandle Account information to use for the call.
* @param isIncoming True if this is an incoming call.
*/
Call(
ConnectionServiceRepository repository,
Uri handle,
GatewayInfo gatewayInfo,
- PhoneAccountHandle account,
+ PhoneAccountHandle accountHandle,
boolean isIncoming,
boolean isConference) {
mState = isConference ? CallState.ACTIVE : CallState.NEW;
mRepository = repository;
setHandle(handle, CallPropertyPresentation.ALLOWED);
mGatewayInfo = gatewayInfo;
- mPhoneAccountHandle = account;
+ mPhoneAccountHandle = accountHandle;
mIsIncoming = isIncoming;
mIsConference = isConference;
maybeLoadCannedSmsResponses();
@@ -569,7 +569,7 @@
@Override
public void handleCreateConnectionSuccessful(ConnectionRequest request) {
mCreateConnectionProcessor = null;
- mPhoneAccountHandle = request.getAccount();
+ mPhoneAccountHandle = request.getAccountHandle();
if (mIsIncoming) {
// We do not handle incoming calls immediately when they are verified by the connection