Skip to content

Commit

Permalink
Initial metadata for Android Auto
Browse files Browse the repository at this point in the history
Add icon for Auto to manifest, and describe NewPipe as a media app.
  • Loading branch information
haggaie committed Dec 25, 2022
1 parent 6b89b44 commit e07eaa9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -392,5 +392,11 @@
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
<!-- Version >= 3.0. DeX Dual Mode support -->
<meta-data android:name="com.samsung.android.multidisplay.keep_process_alive" android:value="true"/>

<!-- Android Auto -->
<meta-data android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
<meta-data android:name="com.google.android.gms.car.notification.SmallIcon"
android:resource="@mipmap/ic_launcher" />
</application>
</manifest>
3 changes: 3 additions & 0 deletions app/src/main/res/xml/automotive_app_desc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<automotiveApp>
<uses name="media" />
</automotiveApp>

0 comments on commit e07eaa9

Please sign in to comment.