Change MANAGE_OWN_CALLS permission to be a "normal" permission.

Also remove from Phone group since this isn't really related to phone
calls as much as interacting with Telecom APIs.

Test: Manual
Bug: 37722558
Merged-In: Ia972db4bd79a34bc9b9d3896910adc205c286367
Change-Id: Icc4d2170cc7c83f653eeb0438938f7c0c91a0a7c
This commit is contained in:
Tyler Gunn
2017-04-28 10:45:23 -07:00
parent 6d033475b3
commit 47145a0755

View File

@@ -787,16 +787,6 @@
android:description="@string/permdesc_callPhone"
android:protectionLevel="dangerous" />
<!-- Allows an application to manage its own calls, but rely on the system to route focus to the
currently active call.
<p>Protection level: dangerous
-->
<permission android:name="android.permission.MANAGE_OWN_CALLS"
android:permissionGroup="android.permission-group.PHONE"
android:label="@string/permlab_manageOwnCalls"
android:description="@string/permdesc_manageOwnCalls"
android:protectionLevel="dangerous" />
<!-- Allows an application to access the IMS call service: making and
modifying a call
<p>Protection level: signature|privileged
@@ -874,6 +864,17 @@
android:description="@string/permdesc_processOutgoingCalls"
android:protectionLevel="dangerous" />
<!-- Allows a calling application which manages it own calls through the self-managed
{@link android.telecom.ConnectionService} APIs. See
{@link android.telecom.PhoneAccount#CAPABILITY_SELF_MANAGED for more information on the
self-managed ConnectionService APIs.
<p>Protection level: normal
-->
<permission android:name="android.permission.MANAGE_OWN_CALLS"
android:label="@string/permlab_manageOwnCalls"
android:description="@string/permdesc_manageOwnCalls"
android:protectionLevel="normal" />
<!-- ====================================================================== -->
<!-- Permissions for accessing the device microphone -->
<!-- ====================================================================== -->