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.
This commit is contained in:
Peter Cai 2022-03-21 21:36:09 -04:00
parent 865676e416
commit 4d011016db
1 changed files with 1 additions and 1 deletions

View File

@ -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>