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

View file

@ -74,7 +74,7 @@
android:name="com.google.android.gms.car.application" android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" /> android:resource="@xml/automotive_app_desc" />
<service android:name=".services.XmppConnectionService" /> <service android:name=".services.XmppConnectionService" android:foregroundServiceType="microphone" />
<receiver android:name=".services.EventReceiver"> <receiver android:name=".services.EventReceiver">
<intent-filter> <intent-filter>