~singpolyma/cheogram-android

4d011016db221be24e97490fb1c68f11fd46c0e2 — Peter Cai 10 months ago 865676e
manifest: add foregroundServiceType="microphone"

needed on targetSDK >= 30 for microphone access. Without this, we cannot
access the microphone in dialer integration mode since we are not the
foreground app.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/AndroidManifest.xml
M src/main/AndroidManifest.xml => src/main/AndroidManifest.xml +1 -1
@@ 74,7 74,7 @@
            android:name="com.google.android.gms.car.application"
            android:resource="@xml/automotive_app_desc" />

        <service android:name=".services.XmppConnectionService" />
        <service android:name=".services.XmppConnectionService" android:foregroundServiceType="microphone" />

        <receiver android:name=".services.EventReceiver">
            <intent-filter>