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 20<!-- CellBroadcast has never changed versionCode since CellBroadcast was included R-OS. 21In case of changing the version code, should notify the backup and restore team. 22pixel-onboarding-eng@ and aob-platform-Op@. Please refer b/317302212 for details --> 23<manifest xmlns:android="http://schemas.android.com/apk/res/android" 24 android:sharedUserId="android.uid.networkstack" 25 android:versionCode="300000000" 26 android:versionName="R-initial" 27 package="com.android.cellbroadcastservice"> 28 29 <original-package android:name="com.android.cellbroadcastservice" /> 30 31 <!-- gives the permission holder access to the CellBroadcastProvider --> 32 <permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" 33 android:protectionLevel="signature" /> 34 35 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 36 <uses-permission android:name="android.permission.RECEIVE_SMS" /> 37 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> 38 <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" /> 39 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 40 <uses-permission android:name="android.permission.WAKE_LOCK" /> 41 <uses-permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" /> 42 43 <protected-broadcast android:name="android.telephony.action.AREA_INFO_UPDATED" /> 44 45 <uses-sdk android:minSdkVersion="30" /> 46 47 <!-- Need to set usesCleartextTraffic="true" as every APK in the process 48 must set it to avoid races. The flag is necessary for the NetworkStack 49 module. See b/161860610. --> 50 <application android:label="Cell Broadcast Service" 51 android:defaultToDeviceProtectedStorage="true" 52 android:directBootAware="true" 53 android:persistent="true" 54 android:forceQueryable="true" 55 android:process="com.android.networkstack.process" 56 android:usesCleartextTraffic="true"> 57 58 <service android:name="DefaultCellBroadcastService" 59 android:process="com.android.networkstack.process" 60 android:exported="true" 61 android:permission="android.permission.BIND_CELL_BROADCAST_SERVICE"> 62 <intent-filter> 63 <action android:name="android.telephony.CellBroadcastService" /> 64 </intent-filter> 65 </service> 66 <provider android:name="CellBroadcastProvider" 67 android:authorities="cellbroadcasts" 68 android:exported="true" 69 android:singleUser="true" 70 android:readPermission="android.permission.READ_CELL_BROADCASTS" 71 android:multiprocess="false" /> 72 </application> 73</manifest> 74