diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java b/tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java index 5580960c7..81a4249ea 100644 --- a/tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java +++ b/tests/src/com/android/dialer/tests/calllog/FillCallLogTestActivity.java @@ -31,7 +31,7 @@ import android.os.AsyncTask; import android.os.Bundle; import android.os.RemoteException; import android.provider.CallLog.Calls; -import android.telecomm.PhoneAccount; +import android.telecomm.PhoneAccountHandle; import android.telecomm.TelecommManager; import android.text.format.DateFormat; import android.util.Log; @@ -397,13 +397,13 @@ public class FillCallLogTestActivity extends Activity { } } - private PhoneAccount getManualAccount() { + private PhoneAccountHandle getManualAccount() { TelecommManager telecommManager = TelecommManager.from(this); - List <PhoneAccount> accounts = telecommManager.getEnabledPhoneAccounts(); + List <PhoneAccountHandle> accountHandles = telecommManager.getEnabledPhoneAccounts(); if (mAccount0.isChecked()) { - return accounts.get(0); + return accountHandles.get(0); } else if (mAccount1.isChecked()){ - return accounts.get(1); + return accountHandles.get(1); } else { return null; } |