• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18          package="com.android.experimentalcar"
19          coreApp="true"
20          android:sharedUserId="android.uid.system">
21
22    <original-package android:name="com.android.experimentalcar"/>
23
24    <!-- Allows an application to get the driver's current distraction level.
25         <p>Protection level: signature|privileged
26    -->
27    <permission
28        android:name="android.car.permission.CAR_DRIVER_DISTRACTION"
29        android:protectionLevel="signature|privileged"
30        android:label="@string/car_permission_label_driver_distraction"
31        android:description="@string/car_permission_desc_driver_distraction"/>
32
33    <application android:label="@string/app_title"
34                 android:directBootAware="true"
35                 android:allowBackup="false"
36                 android:persistent="false">
37        <service android:name=".ExperimentalCarService"
38                 android:singleUser="true">
39        </service>
40        <service android:name=".TouchDriverAwarenessSupplier" android:exported="false"/>
41        <service android:name=".GazeDriverAwarenessSupplier" android:exported="false"/>
42        <service android:name=".SampleExternalDriverAwarenessSupplier" android:exported="false"/>
43    </application>
44</manifest>
45