Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -15279,11 +15279,11 @@ package android.provider { public final class ContactsContract { ctor public ContactsContract(); field public static final java.lang.String ALLOW_PROFILE = "allow_profile"; field public static final java.lang.String AUTHORITY = "com.android.contacts"; field public static final android.net.Uri AUTHORITY_URI; field public static final java.lang.String CALLER_IS_SYNCADAPTER = "caller_is_syncadapter"; field public static final java.lang.String DIRECTORY_PARAM_KEY = "directory"; field public static final java.lang.String INCLUDE_PROFILE = "include_profile"; field public static final java.lang.String LIMIT_PARAM_KEY = "limit"; field public static final java.lang.String PRIMARY_ACCOUNT_NAME = "name_for_primary_account"; field public static final java.lang.String PRIMARY_ACCOUNT_TYPE = "type_for_primary_account"; core/java/android/provider/ContactsContract.java +6 −4 Original line number Diff line number Diff line Loading @@ -123,14 +123,16 @@ public final class ContactsContract { /** * An optional URI parameter for selection queries that instructs the * provider to include the user's personal profile contact entry (if any) * in the contact results. If present, the user's profile will always be * the first entry returned. The default value is false. * provider to allow the user's personal profile contact entry (if any) * to appear in a list of contact results. It is only useful when issuing * a query that may retrieve more than one contact. If present, the user's * profile will always be the first entry returned. The default value is * false. * * Specifying this parameter will result in a security error if the calling * application does not have android.permission.READ_PROFILE permission. */ public static final String INCLUDE_PROFILE = "include_profile"; public static final String ALLOW_PROFILE = "allow_profile"; /** * A query parameter key used to specify the package that is requesting a query. Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -15279,11 +15279,11 @@ package android.provider { public final class ContactsContract { ctor public ContactsContract(); field public static final java.lang.String ALLOW_PROFILE = "allow_profile"; field public static final java.lang.String AUTHORITY = "com.android.contacts"; field public static final android.net.Uri AUTHORITY_URI; field public static final java.lang.String CALLER_IS_SYNCADAPTER = "caller_is_syncadapter"; field public static final java.lang.String DIRECTORY_PARAM_KEY = "directory"; field public static final java.lang.String INCLUDE_PROFILE = "include_profile"; field public static final java.lang.String LIMIT_PARAM_KEY = "limit"; field public static final java.lang.String PRIMARY_ACCOUNT_NAME = "name_for_primary_account"; field public static final java.lang.String PRIMARY_ACCOUNT_TYPE = "type_for_primary_account";
core/java/android/provider/ContactsContract.java +6 −4 Original line number Diff line number Diff line Loading @@ -123,14 +123,16 @@ public final class ContactsContract { /** * An optional URI parameter for selection queries that instructs the * provider to include the user's personal profile contact entry (if any) * in the contact results. If present, the user's profile will always be * the first entry returned. The default value is false. * provider to allow the user's personal profile contact entry (if any) * to appear in a list of contact results. It is only useful when issuing * a query that may retrieve more than one contact. If present, the user's * profile will always be the first entry returned. The default value is * false. * * Specifying this parameter will result in a security error if the calling * application does not have android.permission.READ_PROFILE permission. */ public static final String INCLUDE_PROFILE = "include_profile"; public static final String ALLOW_PROFILE = "allow_profile"; /** * A query parameter key used to specify the package that is requesting a query. Loading