summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-08-27 18:29:59 -0700
committerNancy Chen <nancychen@google.com>2014-08-28 08:47:27 -0700
commit3a7809212761dcd6e42afe1544a49791d70d140f (patch)
treeacb2949e6782768c1cdb592468567e6e6b69201d /core/java/android/provider
parent9edf297055b4fbc5d5f6dacc469fa87fc1cb5370 (diff)
downloadframeworks_base-3a7809212761dcd6e42afe1544a49791d70d140f.zip
frameworks_base-3a7809212761dcd6e42afe1544a49791d70d140f.tar.gz
frameworks_base-3a7809212761dcd6e42afe1544a49791d70d140f.tar.bz2
Add field for sub_id in call log for sprout database.
Adding sub_id as a column in the calls table to make the sprout and non-sprout contacts databases consistent. Bug: 14990572 Change-Id: I82d9fe65e6cdf4e10b6115a8565c2be3a6f93562
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/CallLog.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java
index 942da5a..f697231 100644
--- a/core/java/android/provider/CallLog.java
+++ b/core/java/android/provider/CallLog.java
@@ -349,6 +349,15 @@ public class CallLog {
public static final String PHONE_ACCOUNT_ID = "subscription_id";
/**
+ * The identifier of a account that is unique to a specified component. Equivalent value
+ * to {@link #PHONE_ACCOUNT_ID}. For ContactsProvider internal use only.
+ * <P>Type: INTEGER</P>
+ *
+ * @hide
+ */
+ public static final String SUB_ID = "sub_id";
+
+ /**
* If a successful call is made that is longer than this duration, update the phone number
* in the ContactsProvider with the normalized version of the number, based on the user's
* current country code.