blob: 5d22b70ae48e12dc7b79c5832619ed099dce8264 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2019 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"
xmlns:tools="http://schemas.android.com/tools"
package="com.android.car.secondaryhome">
<!-- System permission to host maps activity -->
<uses-permission android:name="android.permission.ACTIVITY_EMBEDDING"/>
<!-- System permission to send events to hosted maps activity -->
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
<!-- System permission to use internal system windows -->
<uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/>
<!-- System permissions to bring hosted activity to front on current display -->
<uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"/>
<uses-permission android:name="android.permission.REORDER_TASKS"/>
<!-- System permissions to querry user -->
<uses-permission android:name="android.permission.MANAGE_USERS"/>
<application
android:label="@string/app_name"
tools:replace="android:label">
<activity
android:name=".launcher.LauncherActivity"
android:label="@string/app_launcher"
android:theme="@style/LauncherTheme"
android:configChanges="orientation|screenSize|smallestScreenSize|
screenLayout|colorMode|density"
android:documentLaunchMode="always"
android:multiprocess="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.SECONDARY_HOME"/>
</intent-filter>
</activity>
<service android:name=".launcher.NotificationListener"
android:label="@string/notification_service_label"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
android:directBootAware="true">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService"/>
</intent-filter>
</service>
</application>
</manifest>