Jordan Liu | c872fad | 2019-10-11 11:42:03 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | * Copyright (C) 2019 The Android Open Source Project |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:sharedUserId="android.uid.phone" |
| 21 | package="com.android.cellbroadcastservice"> |
| 22 | |
| 23 | <original-package android:name="com.android.cellbroadcastservice" /> |
| 24 | |
| 25 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 26 | <uses-permission android:name="android.permission.RECEIVE_SMS" /> |
| 27 | <uses-permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST" /> |
| 28 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> |
| 29 | <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" /> |
| 30 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| 31 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 32 | |
| 33 | <uses-sdk android:minSdkVersion="29"/> |
| 34 | |
| 35 | <application android:label="Module used to handle cell broadcasts." |
| 36 | android:defaultToDeviceProtectedStorage="true" |
| 37 | android:directBootAware="true" |
| 38 | android:process="com.android.phone"> |
| 39 | |
| 40 | <service android:name="DefaultCellBroadcastService" |
Jordan Liu | c872fad | 2019-10-11 11:42:03 -0700 | [diff] [blame] | 41 | android:exported="true" |
| 42 | android:permission="android.permission.BIND_CELL_BROADCAST_SERVICE"> |
| 43 | <intent-filter> |
| 44 | <action android:name="android.telephony.CellBroadcastService" /> |
| 45 | </intent-filter> |
| 46 | </service> |
Jordan Liu | 26e820c | 2019-10-22 14:42:07 -0700 | [diff] [blame] | 47 | <provider android:name="CellBroadcastProvider" |
| 48 | android:authorities="cellbroadcasts" |
| 49 | android:exported="true" |
| 50 | android:singleUser="true" |
| 51 | android:multiprocess="false" /> |
Jordan Liu | c872fad | 2019-10-11 11:42:03 -0700 | [diff] [blame] | 52 | </application> |
| 53 | </manifest> |