am 20cf0916: Merge "Bug 5585323 New system permission for media decode" into ics-mr1

* commit '20cf0916cc6a4920b1d882a9478615a15fe6b3b0':
  Bug 5585323 New system permission for media decode
This commit is contained in:
Jean-Michel Trivi
2011-11-09 16:59:48 +00:00
committed by Android Git Automerger
2 changed files with 13 additions and 0 deletions

View File

@@ -1027,6 +1027,13 @@
android:label="@string/permlab_readLogs"
android:description="@string/permdesc_readLogs" />
<!-- Allows an application to use any media decoder when decoding for playback
@hide -->
<permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"
android:protectionLevel="signatureOrSystem"
android:label="@string/permlab_anyCodecForPlayback"
android:description="@string/permdesc_anyCodecForPlayback" />
<!-- ========================================= -->
<!-- Permissions for special development tools -->
<!-- ========================================= -->

6
core/res/res/values/strings.xml Normal file → Executable file
View File

@@ -830,6 +830,12 @@
information about what you are doing with the phone, potentially
including personal or private information.</string>
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permlab_anyCodecForPlayback">use any media decoder for playback</string>
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permdesc_anyCodecForPlayback">Allows an application to use any installed
media decoder to decode for playback.</string>
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permlab_diagnostic">read/write to resources owned by diag</string>
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->