summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorEvan Charlton <evanc@google.com>2014-07-20 12:31:00 -0700
committerEvan Charlton <evanc@google.com>2014-07-20 15:12:16 -0700
commit8c8a062f521d39ceecc99e8fc6cef9c60b773da5 (patch)
tree4c130f71ce116dc710aa737b1f6d104c0275a97b /core
parent7226b9b62d9c26eda9e2353e8ce35808e51c3fd3 (diff)
downloadframeworks_base-8c8a062f521d39ceecc99e8fc6cef9c60b773da5.zip
frameworks_base-8c8a062f521d39ceecc99e8fc6cef9c60b773da5.tar.gz
frameworks_base-8c8a062f521d39ceecc99e8fc6cef9c60b773da5.tar.bz2
Rename PhoneAccountMetadata to PhoneAccount
Change-Id: I4597b14110c1cee7f637ec125b839852ef0f34c4
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/CallLog.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java
index 023988c..1a30c67 100644
--- a/core/java/android/provider/CallLog.java
+++ b/core/java/android/provider/CallLog.java
@@ -343,7 +343,7 @@ public class CallLog {
* "allowed", "payphone", "restricted" or "unknown"
* @param callType enumerated values for "incoming", "outgoing", or "missed"
* @param features features of the call (e.g. Video).
- * @param account The account object describing the provider of the call
+ * @param accountHandle The accountHandle object identifying the provider of the call
* @param start time stamp for the call in milliseconds
* @param duration call duration in seconds
* @param dataUsage data usage for the call in bytes, null if data usage was not tracked for
@@ -352,7 +352,7 @@ public class CallLog {
* {@hide}
*/
public static Uri addCall(CallerInfo ci, Context context, String number,
- int presentation, int callType, int features, PhoneAccountHandle account,
+ int presentation, int callType, int features, PhoneAccountHandle accountHandle,
long start, int duration, Long dataUsage) {
final ContentResolver resolver = context.getContentResolver();
int numberPresentation = PRESENTATION_ALLOWED;
@@ -377,12 +377,12 @@ public class CallLog {
}
}
- // account information
+ // accountHandle information
String accountComponentString = null;
String accountId = null;
- if (account != null) {
- accountComponentString = account.getComponentName().flattenToString();
- accountId = account.getId();
+ if (accountHandle != null) {
+ accountComponentString = accountHandle.getComponentName().flattenToString();
+ accountId = accountHandle.getId();
}
ContentValues values = new ContentValues(6);