unplugged-system/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/AndroidManifest.xml

46 lines
2.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.car.multidisplay">
<!-- for Context.startActivityAsUser() -->
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
<!-- System permission to query all installed packages -->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
<application android:label="@string/app_name">
<activity android:name=".launcher.LauncherActivity"
android:label="@string/md_launcher"
android:theme="@style/LauncherTheme"
android:launchMode="singleTop"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
android:exported="true">
<meta-data
android:name="distractionOptimized"
android:value="true" />
<!-- This is a passenger HOME and called from CarLauncher directly. -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<!-- But, it still needs to handle SECONDARY_HOME for CTS. -->
<category android:name="android.intent.category.SECONDARY_HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
</manifest>