Browse Source

Merge pull request #3225 from nextcloud/enhancement/noid/AndroidAuto

Enable Android Auto
Andy Scherzinger 1 năm trước cách đây
mục cha
commit
44d54cc9e6

+ 5 - 0
app/src/main/AndroidManifest.xml

@@ -108,6 +108,11 @@
         tools:ignore="UnusedAttribute"
         tools:replace="label, icon, theme, name, allowBackup">
 
+        <meta-data
+        android:name="com.google.android.gms.car.application"
+        android:resource="@xml/automotive_app_desc"/>
+
+
         <meta-data
             android:name="android.max_aspect"
             android:value="10" />

+ 3 - 0
app/src/main/res/xml/automotive_app_desc.xml

@@ -0,0 +1,3 @@
+<automotiveApp>
+    <uses name="notification" />
+</automotiveApp>