Skip to content

Commit 90ddc90

Browse files
author
Makoto Onuki
committed
A new broadcast action which is sent when profile changes
Adding it as a hidden API for now. Should be made public later. Bug 7148705 Change-Id: I6f5fbb8048728f355341ecdc6fd0242b45171d56
1 parent 649d0d7 commit 90ddc90

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/java/android/provider/ContactsContract.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7899,6 +7899,16 @@ public static final class Intents {
78997899
public static final String ACTION_GET_MULTIPLE_PHONES =
79007900
"com.android.contacts.action.GET_MULTIPLE_PHONES";
79017901

7902+
/**
7903+
* A broadcast action which is sent when any change has been made to the profile, such
7904+
* as the profile name or the picture. A receiver must have
7905+
* the android.permission.READ_PROFILE permission.
7906+
*
7907+
* @hide
7908+
*/
7909+
public static final String ACTION_PROFILE_CHANGED =
7910+
"android.provider.Contacts.PROFILE_CHANGED";
7911+
79027912
/**
79037913
* Used with {@link #SHOW_OR_CREATE_CONTACT} to force creating a new
79047914
* contact if no matching contact found. Otherwise, default behavior is

0 commit comments

Comments
 (0)