Add support for Android Auto. (#4818)

This commit is contained in:
Benoit Marty
2025-06-04 13:00:01 +02:00
committed by GitHub
parent c02c1ae1bd
commit 3ae8d77c9a
2 changed files with 13 additions and 0 deletions

View File

@@ -25,6 +25,10 @@
android:theme="@style/Theme.ElementX"
tools:targetApi="33">
<meta-data
android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2025 New Vector Ltd.
~
~ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
~ Please see LICENSE files in the repository root for full details.
-->
<automotiveApp>
<uses name="notification" />
</automotiveApp>