Add permission to CONNECTION_MANAGER PhoneAccount registration.
We need to add a system-level permission for registering PhoneAccounts
to prevent third party apps from registering and being able to
control the call.
Bug: 18100571
Change-Id: I06de9311620b271904babc78f23faff90a15e1a9
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5d11fb3..427b248 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -46,6 +46,11 @@
android:protectionLevel="signature"/>
<permission
+ android:name="com.android.server.telecom.permission.REGISTER_CONNECTION_MANAGER"
+ android:label="Register CONNECTION_MANAGER PhoneAccount"
+ android:protectionLevel="signature"/>
+
+ <permission
android:name="android.permission.BROADCAST_CALLLOG_INFO"
android:label="Broadcast the call type/duration information"
android:protectionLevel="signature|system"/>