Skip to content

Commit 0953789

Browse files
authored
Add support for Android Auto. (#4818)
1 parent 07af7cc commit 0953789

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
android:theme="@style/Theme.ElementX"
2626
tools:targetApi="33">
2727

28+
<meta-data
29+
android:name="com.google.android.gms.car.application"
30+
android:resource="@xml/automotive_app_desc" />
31+
2832
<provider
2933
android:name="androidx.startup.InitializationProvider"
3034
android:authorities="${applicationId}.androidx-startup"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?><!--
2+
~ Copyright 2025 New Vector Ltd.
3+
~
4+
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
~ Please see LICENSE files in the repository root for full details.
6+
-->
7+
<automotiveApp>
8+
<uses name="notification" />
9+
</automotiveApp>

0 commit comments

Comments
 (0)