universal7885: FMRadio: Drop unused permission

* Also drop privapp permissions
This commit is contained in:
roynatech2544 2022-04-12 18:28:07 +09:00
commit cae95b3c27
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
3 changed files with 3 additions and 29 deletions

View file

@ -11,19 +11,12 @@ android_app {
"androidx.core_core",
"androidx.appcompat_appcompat",
"com.google.android.material_stable",
"kotlinx_coroutines",
"androidx.transition_transition",
"kotlinx_coroutines",
"androidx.transition_transition",
"kotlinx_coroutines_android",
"androidx.coordinatorlayout_coordinatorlayout"
"androidx.coordinatorlayout_coordinatorlayout"
],
required: [
"privapp_whitelist_com.eurekateam.fmradio.xml",
"vendor.eureka.hardware.fmradio@1.2-service",
],
}
prebuilt_etc {
name: "privapp_whitelist_com.eurekateam.fmradio.xml",
src: "privapp_whitelist_com.eurekateam.fmradio.xml",
sub_dir: "permissions",
}

View file

@ -2,7 +2,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:sharedUserId="android.uid.system"
package="com.eurekateam.fmradio">
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"

View file

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 Eureka Team
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<permissions>
<privapp-permissions package="com.eurekateam.fmradio">
<permission name="android.permission.MODIFY_AUDIO_SETTINGS"/>
</privapp-permissions>
</permissions>