mirror of
https://github.com/Michatec/Radio.git
synced 2026-05-31 05:22:40 +02:00
feat(cast): implement Google Cast support and expanded controller activity
This commit is contained in:
@@ -31,11 +31,6 @@
|
||||
android:usesCleartextTraffic="true"
|
||||
tools:targetApi="33">
|
||||
|
||||
<!-- GOOGLE CAST SUPPORT -->
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
|
||||
android:value="com.michatec.radio.CastOptionsProvider" />
|
||||
|
||||
<!-- ANDROID AUTO SUPPORT -->
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.car.application"
|
||||
@@ -44,6 +39,17 @@
|
||||
android:name="com.google.android.gms.car.notification.SmallIcon"
|
||||
android:resource="@mipmap/ic_launcher" />
|
||||
|
||||
<!-- GOOGLE CAST SUPPORT -->
|
||||
<receiver android:name="androidx.mediarouter.media.MediaTransferReceiver" />
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
|
||||
android:value="com.michatec.radio.CastOptionsProvider" />
|
||||
|
||||
<activity
|
||||
android:name=".ExpandedControllerActivity"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask" />
|
||||
|
||||
<!-- Main activity for radio station playback on phone and TV -->
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
||||
Reference in New Issue
Block a user