| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| /* | |
| * Copyright (C) 2019 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an "AS IS" BASIS, | |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| * See the License for the specific language governing permissions and | |
| * limitations under the License. | |
| */ | |
| --> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:sharedUserId="android.uid.phone" | |
| package="com.android.cellbroadcastservice"> | |
| <original-package android:name="com.android.cellbroadcastservice" /> | |
| <!-- gives the permission holder access to the CellBroadcastProvider --> | |
| <permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" | |
| android:protectionLevel="signature" /> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
| <uses-permission android:name="android.permission.RECEIVE_SMS" /> | |
| <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> | |
| <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" /> | |
| <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> | |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> | |
| <uses-permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" /> | |
| <protected-broadcast android:name="android.telephony.action.AREA_INFO_UPDATED" /> | |
| <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="30" /> | |
| <application android:label="Cell Broadcast Service" | |
| android:defaultToDeviceProtectedStorage="true" | |
| android:directBootAware="true" | |
| android:persistent="true" | |
| android:forceQueryable="true" | |
| android:process="com.android.phone"> | |
| <service android:name="DefaultCellBroadcastService" | |
| android:process="com.android.phone" | |
| android:exported="true" | |
| android:permission="android.permission.BIND_CELL_BROADCAST_SERVICE"> | |
| <intent-filter> | |
| <action android:name="android.telephony.CellBroadcastService" /> | |
| </intent-filter> | |
| </service> | |
| <provider android:name="CellBroadcastProvider" | |
| android:authorities="cellbroadcasts" | |
| android:exported="true" | |
| android:singleUser="true" | |
| android:readPermission="android.permission.READ_CELL_BROADCASTS" | |
| android:multiprocess="false" /> | |
| </application> | |
| </manifest> |