Introduce service to let phone app send the view notification
Bug: 5815920
Change-Id: Ibf2d0b9ec8bb94fd7f6f45a6f97f9a3e744add53
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 826fd3d..a1f8b4a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -645,5 +645,16 @@
android:name=".calllog.CallLogNotificationsService"
android:exported="false"
/>
+
+ <!-- Service that is exclusively for the Phone application that sends out a view
+ notification. This service might be removed in future versions of the app -->
+ <service android:name=".ViewNotificationService"
+ android:permission="android.permission.WRITE_CONTACTS"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="com.android.contacts.VIEW_NOTIFICATION" />
+ <data android:mimeType="vnd.android.cursor.item/contact" />
+ </intent-filter>
+ </service>
</application>
</manifest>