First pass adding android auto and apple carplay support. Android auto tuned on emulator.
This commit is contained in:
@@ -42,12 +42,31 @@
|
||||
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
|
||||
android:value="com.example.kryz_go_flutter.CastOptionsProvider" />
|
||||
|
||||
<!-- Declares this app as an Android Auto media app. -->
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.car.application"
|
||||
android:resource="@xml/automotive_app_desc" />
|
||||
|
||||
<service
|
||||
android:name="com.ryanheise.audioservice.AudioService"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:foregroundServiceType="mediaPlayback"
|
||||
tools:ignore="Instantiatable">
|
||||
</service>
|
||||
|
||||
<!--
|
||||
Dedicated MediaBrowserService for Android Auto. Android Auto connects here
|
||||
to browse content and send transport controls. Styled with KryzAutoTheme
|
||||
so Auto accents its media UI with the KRYZ brand orange (#E36A18).
|
||||
-->
|
||||
<service
|
||||
android:name="com.example.kryz_go_flutter.KryzAutoMediaBrowserService"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:foregroundServiceType="mediaPlayback"
|
||||
android:theme="@style/KryzAutoTheme"
|
||||
tools:ignore="Instantiatable">
|
||||
<intent-filter>
|
||||
<action android:name="android.media.browse.MediaBrowserService"/>
|
||||
</intent-filter>
|
||||
|
||||
Reference in New Issue
Block a user