1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.android.car.appgrid.test" 20 xmlns:tools="http://schemas.android.com/tools"> 21 22 <!-- Permission to open recent tasks and to allow drag surface control to be transferred from DragEvent. --> 23 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS"/> 24 <!-- System permission to query all installed packages --> 25 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 26 <!-- System permission to control media playback of the active session --> 27 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL"/> 28 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> 29 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> 30 <!-- System permission to query users on device --> 31 <uses-permission android:name="android.permission.MANAGE_USERS"/> 32 <uses-permission android:name="android.permission.CREATE_USERS"/> 33 <!-- Needed to change component enabled state when user opens disabled apps. --> 34 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/> 35 36 <application 37 android:icon="@drawable/ic_launcher" 38 android:label="@string/app_name" 39 android:supportsRtl="true"> 40 41 <activity-alias 42 android:name="com.android.car.appgrid.test.AppGridActivity" 43 android:targetActivity="com.android.car.carlauncher.AppGridActivity" 44 android:launchMode="singleInstance" 45 android:exported="true" 46 android:theme="@style/Theme.Launcher.AppGridActivity" 47 android:excludeFromRecents="true"> 48 <meta-data android:name="distractionOptimized" android:value="true"/> 49 <intent-filter> 50 <action android:name="android.intent.action.MAIN" /> 51 <category android:name="android.intent.category.LAUNCHER" /> 52 </intent-filter> 53 </activity-alias> 54 55 </application> 56 57</manifest> 58