Adora Zhang | 07a9486 | 2018-06-19 16:16:09 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ** Copyright (C) 2018 The Android Open Source Project |
| 4 | ** |
| 5 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ** you may not use this file except in compliance with the License. |
| 7 | ** You may obtain a copy of the License at |
| 8 | ** |
| 9 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ** |
| 11 | ** Unless required by applicable law or agreed to in writing, software |
| 12 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ** See the License for the specific language governing permissions and |
| 15 | ** limitations under the License. |
| 16 | */ |
| 17 | --> |
| 18 | |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 20 | package="com.android.car.notification"> |
Brad Stenning | 935edda | 2018-10-19 08:38:02 -0700 | [diff] [blame] | 21 | <!-- Permission to show display overlay window for heads-up notifications --> |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/> |
Adora Zhang | 6041e57 | 2018-08-21 14:23:44 -0700 | [diff] [blame] | 23 | <!-- Permission to get the current user id to cancel a notification --> |
| 24 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> |
Qiao (Adora) Zhang | aab41e0 | 2019-01-22 18:55:35 +0000 | [diff] [blame] | 25 | <!-- Permission to get the current user id to cancel all notifications --> |
| 26 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
Priyank Singh | d2e0f13 | 2019-04-02 15:04:08 -0700 | [diff] [blame] | 27 | <!-- Permission to get status if a user in on call --> |
| 28 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
| 29 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> |
| 30 | |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
Brad Stenning | 935edda | 2018-10-19 08:38:02 -0700 | [diff] [blame] | 32 | <!--Permission to talk to the Status bar service which proxies the calls to remove |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 33 | notifications to the notification service --> |
| 34 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/> |
Uriel Sade | 0645601 | 2018-12-03 10:50:29 -0800 | [diff] [blame] | 35 | <!--Permission to start a voice interaction service--> |
| 36 | <uses-permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE"/> |
Adora Zhang | 07a9486 | 2018-06-19 16:16:09 -0700 | [diff] [blame] | 37 | |
Calvin Huang | 6d24767 | 2022-09-12 12:53:31 -0700 | [diff] [blame] | 38 | <!--Permission to query application package info--> |
| 39 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> |
| 40 | |
Adora Zhang | 08b64ff | 2019-02-06 21:26:01 -0800 | [diff] [blame] | 41 | <application android:name=".NotificationApplication"> |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 42 | <activity android:name=".CarNotificationCenterActivity" |
| 43 | android:theme="@style/Theme.DeviceDefault.NoActionBar.Notification" |
| 44 | android:launchMode="singleInstance" |
| 45 | android:noHistory="true" |
| 46 | android:exported="true" |
| 47 | android:stateNotNeeded="true"> |
| 48 | <meta-data android:name="distractionOptimized" |
| 49 | android:value="true"/> |
Jonathan Koo | 86569e9 | 2019-05-03 11:45:10 -0700 | [diff] [blame] | 50 | </activity> |
| 51 | <service android:name=".CarNotificationListener" |
Ashwini Oruganti | 2fb5a9f | 2020-03-23 13:56:04 -0700 | [diff] [blame] | 52 | android:label="@string/notification_service_label" |
| 53 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" |
| 54 | android:directBootAware="true" |
| 55 | android:exported="true"> |
Adora Zhang | 07a9486 | 2018-06-19 16:16:09 -0700 | [diff] [blame] | 56 | <intent-filter> |
| 57 | <action android:name="android.service.notification.NotificationListenerService"/> |
| 58 | </intent-filter> |
| 59 | </service> |
Adora Zhang | 07a9486 | 2018-06-19 16:16:09 -0700 | [diff] [blame] | 60 | </application> |
| 61 | </manifest> |