| 1 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" > |
| 2 |
|
| 3 |
<application> |
| 4 |
|
| 5 |
<meta-data |
| 6 |
android:name="com.google.android.gms.car.application" |
| 7 |
android:resource="@xml/automotive_app_desc" /> |
| 8 |
|
| 9 |
<#if useCustomTheme> |
| 10 |
<!-- |
| 11 |
Use this meta data to override the theme from which Android Auto will |
| 12 |
look for colors. If you don't set this, Android Auto will look |
| 13 |
for color attributes in your application theme. |
| 14 |
--> |
| 15 |
<meta-data |
| 16 |
android:name="com.google.android.gms.car.application.theme" |
| 17 |
android:resource="@style/${escapeXmlAttribute(customThemeName)}" /> |
| 18 |
|
| 19 |
</#if> |
| 20 |
|
| 21 |
<!-- Main music service, provides media browsing and media playback services to |
| 22 |
consumers through MediaBrowserService and MediaSession. Consumers connect to it through |
| 23 |
MediaBrowser (for browsing) and MediaController (for playback control) --> |
| 24 |
<service |
| 25 |
android:name="${relativePackage}.${mediaBrowserServiceName}" |
| 26 |
android:exported="true"> |
| 27 |
<intent-filter> |
| 28 |
<action android:name="android.media.browse.MediaBrowserService" /> |
| 29 |
</intent-filter> |
| 30 |
</service> |
| 31 |
|
| 32 |
</application> |
| 33 |
|
| 34 |
</manifest> |