blob: 8887bc65c09cdc73e9ce28f482fb703b0a7fb89d [file] [log] [blame]
Kevin Crossand4285492016-11-28 18:40:43 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
tadvana63f42f42019-03-26 17:25:21 -070018 package="android.car.usb.handler">
Kevin Crossand4285492016-11-28 18:40:43 -080019 <uses-sdk android:minSdkVersion="25" />
tadvana0851dab2019-04-24 11:59:27 -070020 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
21 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Kevin Crossand4285492016-11-28 18:40:43 -080022 <uses-permission android:name="android.permission.MANAGE_USB" />
tadvana0851dab2019-04-24 11:59:27 -070023 <uses-permission android:name="android.permission.MANAGE_USERS" />
tadvana63f42f42019-03-26 17:25:21 -070024 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Kevin Crossand4285492016-11-28 18:40:43 -080025 <application android:label="@string/app_name" android:icon="@drawable/ic_launcher"
tadvana63f42f42019-03-26 17:25:21 -070026 android:directBootAware="true">
Kevin Crossand4285492016-11-28 18:40:43 -080027 <activity android:name=".UsbHostManagementActivity"
28 android:theme="@android:style/Theme.Material.Light.Dialog"
Justin Paupore6cf91b02019-01-08 16:01:59 -080029 android:launchMode="singleTop">
30 <meta-data
31 android:name="distractionOptimized"
32 android:value="true" />
33 </activity>
tadvana0851dab2019-04-24 11:59:27 -070034 <service android:name=".BootUsbService"
35 android:exported="false"
36 android:singleUser="true">
37 </service>
tadvana63f42f42019-03-26 17:25:21 -070038 <receiver android:name=".BootUsbScanner"
tadvana0851dab2019-04-24 11:59:27 -070039 android:directBootAware="true">
Kevin Crossand4285492016-11-28 18:40:43 -080040 <intent-filter>
tadvana63f42f42019-03-26 17:25:21 -070041 <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
Kevin Crossand4285492016-11-28 18:40:43 -080042 </intent-filter>
43 </receiver>
44 </application>
45</manifest>