Merge "Change signature|system permissions to signature|privileged"

This commit is contained in:
Svetoslav Ganov
2015-12-14 17:53:15 +00:00
committed by Gerrit Code Review

View File

@@ -597,14 +597,14 @@
<!-- Allows an application to access the IMS call service: making and <!-- Allows an application to access the IMS call service: making and
modifying a call modifying a call
<p>Protection level: signature|system <p>Protection level: signature|privileged
@hide @hide
--> -->
<permission android:name="android.permission.ACCESS_IMS_CALL_SERVICE" <permission android:name="android.permission.ACCESS_IMS_CALL_SERVICE"
android:permissionGroup="android.permission-group.PHONE" android:permissionGroup="android.permission-group.PHONE"
android:label="@string/permlab_accessImsCallService" android:label="@string/permlab_accessImsCallService"
android:description="@string/permdesc_accessImsCallService" android:description="@string/permdesc_accessImsCallService"
android:protectionLevel="signature|system" /> android:protectionLevel="signature|privileged" />
<!-- Allows an application to read the user's call log. <!-- Allows an application to read the user's call log.
<p class="note"><strong>Note:</strong> If your app uses the <p class="note"><strong>Note:</strong> If your app uses the
@@ -871,7 +871,7 @@
<!-- @SystemApi @hide Allows an application to modify cell broadcasts through the content provider. <!-- @SystemApi @hide Allows an application to modify cell broadcasts through the content provider.
<p>Not for use by third-party applications. --> <p>Not for use by third-party applications. -->
<permission android:name="android.permission.MODIFY_CELL_BROADCASTS" <permission android:name="android.permission.MODIFY_CELL_BROADCASTS"
android:protectionLevel="signature|system" /> android:protectionLevel="signature|privileged" />
<!-- =============================================================== --> <!-- =============================================================== -->
<!-- Permissions for setting the device alarm --> <!-- Permissions for setting the device alarm -->
@@ -892,16 +892,16 @@
<eat-comment /> <eat-comment />
<!-- Allows an application to modify and remove existing voicemails in the system <!-- Allows an application to modify and remove existing voicemails in the system
<p>Protection level: system|signature <p>Protection level: signature|privileged
--> -->
<permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL" <permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Allows an application to read voicemails in the system. <!-- Allows an application to read voicemails in the system.
<p>Protection level: system|signature <p>Protection level: signature|privileged
--> -->
<permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" <permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- ======================================= --> <!-- ======================================= -->
<!-- Permissions for accessing location info --> <!-- Permissions for accessing location info -->
@@ -1037,7 +1037,7 @@
allow or disallow phonebook access or message access. allow or disallow phonebook access or message access.
This is not available to third party applications. --> This is not available to third party applications. -->
<permission android:name="android.permission.BLUETOOTH_PRIVILEGED" <permission android:name="android.permission.BLUETOOTH_PRIVILEGED"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Control access to email providers exclusively for Bluetooth <!-- Control access to email providers exclusively for Bluetooth
@hide @hide
@@ -1275,26 +1275,26 @@
corresponds to a device SIM. corresponds to a device SIM.
@hide --> @hide -->
<permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" <permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- @SystemApi Protects the ability to register any PhoneAccount with <!-- @SystemApi Protects the ability to register any PhoneAccount with
PhoneAccount#CAPABILITY_CALL_PROVIDER. PhoneAccount#CAPABILITY_CALL_PROVIDER.
@hide --> @hide -->
<permission android:name="android.permission.REGISTER_CALL_PROVIDER" <permission android:name="android.permission.REGISTER_CALL_PROVIDER"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- @SystemApi Protects the ability to register any PhoneAccount with <!-- @SystemApi Protects the ability to register any PhoneAccount with
PhoneAccount#CAPABILITY_CONNECTION_MANAGER PhoneAccount#CAPABILITY_CONNECTION_MANAGER
@hide --> @hide -->
<permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" <permission android:name="android.permission.REGISTER_CONNECTION_MANAGER"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Must be required by a {@link android.telecom.InCallService}, <!-- Must be required by a {@link android.telecom.InCallService},
to ensure that only the system can bind to it. to ensure that only the system can bind to it.
<p>Protection level: system|signature <p>Protection level: signature|privileged
--> -->
<permission android:name="android.permission.BIND_INCALL_SERVICE" <permission android:name="android.permission.BIND_INCALL_SERVICE"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Must be required by a {@link android.telecom.ConnectionService}, <!-- Must be required by a {@link android.telecom.ConnectionService},
to ensure that only the system can bind to it. to ensure that only the system can bind to it.
@@ -1303,24 +1303,24 @@
@SystemApi @SystemApi
@hide --> @hide -->
<permission android:name="android.permission.BIND_CONNECTION_SERVICE" <permission android:name="android.permission.BIND_CONNECTION_SERVICE"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Must be required by a {@link android.telecom.ConnectionService}, <!-- Must be required by a {@link android.telecom.ConnectionService},
to ensure that only the system can bind to it. to ensure that only the system can bind to it.
<p>Protection level: system|signature <p>Protection level: signature|privileged
--> -->
<permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" <permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- @SystemApi Allows an application to control the in-call experience. <!-- @SystemApi Allows an application to control the in-call experience.
@hide --> @hide -->
<permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" <permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Allows an application to receive STK related commands. <!-- Allows an application to receive STK related commands.
@hide --> @hide -->
<permission android:name="android.permission.RECEIVE_STK_COMMANDS" <permission android:name="android.permission.RECEIVE_STK_COMMANDS"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- ================================== --> <!-- ================================== -->
<!-- Permissions for sdcard interaction --> <!-- Permissions for sdcard interaction -->
@@ -1669,12 +1669,12 @@
<!-- @SystemApi Allows mounting and unmounting file systems for removable storage. <!-- @SystemApi Allows mounting and unmounting file systems for removable storage.
<p>Not for use by third-party applications.--> <p>Not for use by third-party applications.-->
<permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" <permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- @SystemApi Allows formatting file systems for removable storage. <!-- @SystemApi Allows formatting file systems for removable storage.
<p>Not for use by third-party applications. --> <p>Not for use by third-party applications. -->
<permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" <permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Allows access to ASEC non-destructive API calls <!-- Allows access to ASEC non-destructive API calls
@hide --> @hide -->
@@ -2322,7 +2322,7 @@
access the network and acquire wakelocks. access the network and acquire wakelocks.
<p>Not for use by third-party applications. --> <p>Not for use by third-party applications. -->
<permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" <permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Permission an application must hold in order to use <!-- Permission an application must hold in order to use
{@link android.provider.Settings#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS}. {@link android.provider.Settings#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS}.
@@ -2530,7 +2530,7 @@
<!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide --> <!-- Allows managing (adding, removing) fingerprint templates. Reserved for the system. @hide -->
<permission android:name="android.permission.MANAGE_FINGERPRINT" <permission android:name="android.permission.MANAGE_FINGERPRINT"
android:protectionLevel="system|signature" /> android:protectionLevel="signature|privileged" />
<!-- Allows an app to reset fingerprint attempt counter. Reserved for the system. @hide --> <!-- Allows an app to reset fingerprint attempt counter. Reserved for the system. @hide -->
<permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT" <permission android:name="android.permission.RESET_FINGERPRINT_LOCKOUT"