Send explicit broadcast to settings on profile update

As of O, android.provider.Contacts.PROFILE_CHANGED is no longer delivered
to manifest receivers.

Test: manual - create new user and set it up
Bug: 35272094
Change-Id: Ib25b675e89e628f7a9aa26ef13d311394ebaccfd
diff --git a/src/com/android/providers/contacts/ProfileProvider.java b/src/com/android/providers/contacts/ProfileProvider.java
index 73d1215..00e7715 100644
--- a/src/com/android/providers/contacts/ProfileProvider.java
+++ b/src/com/android/providers/contacts/ProfileProvider.java
@@ -153,6 +153,9 @@
     private void sendProfileChangedBroadcast() {
         final Intent intent = new Intent(Intents.ACTION_PROFILE_CHANGED);
         mDelegate.getContext().sendBroadcast(intent, READ_CONTACTS_PERMISSION);
+        // TODO b/35323708 update user profile data here instead of notifying Settings
+        intent.setPackage("com.android.settings");
+        mDelegate.getContext().sendBroadcast(intent, READ_CONTACTS_PERMISSION);
     }
 
     @Override