• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2  ~ Copyright (C) 2025 The Android Open Source Project Inc.
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<manifest
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools"
20    package="com.android.car.carlauncher"
21    coreApp="true">
22
23    <!-- Permission to get car driving state -->
24    <uses-permission android:name="android.car.permission.CAR_DRIVING_STATE"/>
25
26    <!-- Permission to manage USB -->
27    <uses-permission android:name="android.permission.MANAGE_USB"/>
28
29    <!-- Permissions to support display compat -->
30    <uses-permission android:name="android.car.permission.MANAGE_DISPLAY_COMPATIBILITY"/>
31
32    <application
33        android:label="Declarative Windowing definition Car Launcher"
34        android:theme="@style/DewdCarLauncherTheme"
35        tools:replace="android:label,android:theme"
36        tools:node="merge">
37        <uses-library android:name="com.android.oem.tokens" android:required="false"/>
38
39        <activity
40            android:name=".DewdHome"
41            android:exported="true"
42            android:launchMode="singleInstance"
43            android:excludeFromRecents="true">
44            <meta-data android:name="distractionOptimized" android:value="true"/>
45            <intent-filter>
46                <action android:name="android.intent.action.MAIN"/>
47                <category android:name="android.intent.category.DEFAULT"/>
48                <category android:name="android.intent.category.HOME"/>
49                <category android:name="android.intent.category.LAUNCHER_APP"/>
50            </intent-filter>
51        </activity>
52
53        <activity
54            android:name="com.android.car.carlauncher.CarLauncher"
55            android:exported="false"
56            tools:node="merge"
57            tools:replace="android:exported">
58            <!-- Disable the CarLauncher activity as we don't want that in the
59                 custom launcher. -->
60            <intent-filter tools:node="removeAll"/>
61        </activity>
62    </application>
63</manifest>
64