summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-06-04 21:30:51 +0200
committerOatmealDome <julian@oatmealdome.me>2025-06-05 02:51:47 -0400
commita834df67ae4debba9f5a3e405875e85a9087031a (patch)
tree804460a4da23cca7cc68d9157932736a6d6f4be6
parentaed420c95d7a152363917e4b827d6cc85eacb502 (diff)
Android: Add android.hardware.microphone to manifest
Google Play is now blocking distribution for Android TV unless we explicitly set the android.hardware.microphone hardware feature as android:required="false", because it's inferring android.hardware.microphone from the android.permission.RECORD_AUDIO we added for Wii Speak emulation, with android:required defaulting to true. I was under the belief that setting android:required="false" on android.permission.RECORD_AUDIO would solve this, but looking closer at the definition of <uses-permission>, it doesn't actually support android:required attributes, so that presumably has no effect.
-rw-r--r--Source/Android/app/src/main/AndroidManifest.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/Android/app/src/main/AndroidManifest.xml b/Source/Android/app/src/main/AndroidManifest.xml
index a14e13b135..c9cb8fcae9 100644
--- a/Source/Android/app/src/main/AndroidManifest.xml
+++ b/Source/Android/app/src/main/AndroidManifest.xml
@@ -14,6 +14,9 @@
android:name="android.hardware.gamepad"
android:required="false"/>
<uses-feature
+ android:name="android.hardware.microphone"
+ android:required="false"/>
+ <uses-feature
android:name="android.software.leanback"
android:required="false"/>
@@ -25,12 +28,8 @@
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA"/>
<uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"/>
- <uses-permission
- android:name="android.permission.VIBRATE"
- android:required="false"/>
- <uses-permission
- android:name="android.permission.RECORD_AUDIO"
- android:required="false"/>
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="android.permission.RECORD_AUDIO"/>
<application
android:name=".DolphinApplication"