diff options
-rw-r--r-- | core/res/AndroidManifest.xml | 8 | ||||
-rw-r--r-- | data/etc/platform.xml | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index e029d90..c9a78fa 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1088,6 +1088,14 @@ android:label="@string/permlab_hardware_test" android:description="@string/permdesc_hardware_test" /> + <!-- @SystemApi Allows access to FM + @hide This is not a third-party API (intended for system apps).--> + <permission android:name="android.permission.ACCESS_FM_RADIO" + android:permissionGroup="android.permission-group.HARDWARE_CONTROLS" + android:protectionLevel="signature|system" + android:label="@string/permlab_fm" + android:description="@string/permdesc_fm" /> + <!-- Allows access to configure network interfaces, configure/use IPSec, etc. @hide --> <permission android:name="android.permission.NET_ADMIN" diff --git a/data/etc/platform.xml b/data/etc/platform.xml index d3869b8..9fd8a4a 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -119,6 +119,10 @@ <group gid="audio" /> </permission> + <permission name="android.permission.ACCESS_FM_RADIO" > + <group gid="media" /> + </permission> + <!-- ================================================================== --> <!-- ================================================================== --> <!-- ================================================================== --> |