Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 1 | <?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" |
tadvana | 63f42f4 | 2019-03-26 17:25:21 -0700 | [diff] [blame] | 18 | package="android.car.usb.handler"> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 19 | <uses-sdk android:minSdkVersion="25" /> |
tadvana | 0851dab | 2019-04-24 11:59:27 -0700 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 21 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.MANAGE_USB" /> |
tadvana | 0851dab | 2019-04-24 11:59:27 -0700 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
tadvana | 63f42f4 | 2019-03-26 17:25:21 -0700 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 25 | <application android:label="@string/app_name" android:icon="@drawable/ic_launcher" |
tadvana | 63f42f4 | 2019-03-26 17:25:21 -0700 | [diff] [blame] | 26 | android:directBootAware="true"> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 27 | <activity android:name=".UsbHostManagementActivity" |
tadvana | a06f70e | 2019-06-14 19:26:58 -0700 | [diff] [blame] | 28 | android:theme="@android:style/Theme.DeviceDefault.Dialog" |
Justin Paupore | 6cf91b0 | 2019-01-08 16:01:59 -0800 | [diff] [blame] | 29 | android:launchMode="singleTop"> |
| 30 | <meta-data |
| 31 | android:name="distractionOptimized" |
| 32 | android:value="true" /> |
| 33 | </activity> |
tadvana | 0851dab | 2019-04-24 11:59:27 -0700 | [diff] [blame] | 34 | <service android:name=".BootUsbService" |
| 35 | android:exported="false" |
| 36 | android:singleUser="true"> |
| 37 | </service> |
tadvana | 63f42f4 | 2019-03-26 17:25:21 -0700 | [diff] [blame] | 38 | <receiver android:name=".BootUsbScanner" |
tadvana | 0851dab | 2019-04-24 11:59:27 -0700 | [diff] [blame] | 39 | android:directBootAware="true"> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 40 | <intent-filter> |
tadvana | 63f42f4 | 2019-03-26 17:25:21 -0700 | [diff] [blame] | 41 | <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" /> |
Kevin Crossan | d428549 | 2016-11-28 18:40:43 -0800 | [diff] [blame] | 42 | </intent-filter> |
| 43 | </receiver> |
| 44 | </application> |
| 45 | </manifest> |