From c3d351f64646bd4b2c81451f12bd8a0cde12101d Mon Sep 17 00:00:00 2001 From: Michatec Date: Sun, 15 Nov 2026 17:20:10 +0100 Subject: [PATCH] refactor: remove AIDL custom permission requirement - Remove `com.michatec.radio.permission.CONTROL_RADIO_API` definition and usage. - Update `RadioApiService` to remove the permission constraint and add `tools:ignore="ExportedService"`. - Remove corresponding documentation and usage in `AIDL_API.md`. --- app/src/main/AndroidManifest.xml | 8 +------- docs/AIDL_API.md | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5d600cd..228751b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -23,12 +23,6 @@ - - - @@ -174,7 +168,7 @@ android:name=".api.RadioApiService" android:enabled="true" android:exported="true" - android:permission="com.michatec.radio.permission.CONTROL_RADIO_API"> + tools:ignore="ExportedService"> diff --git a/docs/AIDL_API.md b/docs/AIDL_API.md index f031cdc..2a34d02 100644 --- a/docs/AIDL_API.md +++ b/docs/AIDL_API.md @@ -9,7 +9,6 @@ This documentation describes the Android Interface Definition Language (AIDL) AP - **Package Name:** `com.michatec.radio` - **Service Class:** `com.michatec.radio.api.RadioApiService` - **AIDL Interface:** `com.michatec.radio.api.IRadioApi` -- **Required Permission:** `com.michatec.radio.permission.CONTROL_RADIO_API` --- @@ -61,9 +60,6 @@ In your client application's `src/main/AndroidManifest.xml`, declare the custom ```xml - - -