blob: bf4a3cc5c02a23e7a3db880c319d897dcef12716 [file] [log] [blame]
Chen Xu1843fb22019-10-20 19:32:33 -07001<?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
Jordan Liu015a9282020-02-04 08:43:45 -080025 <!-- gives the permission holder access to the CellBroadcastProvider -->
26 <permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY"
27 android:protectionLevel="signature" />
28
Chen Xu1843fb22019-10-20 19:32:33 -070029 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
30 <uses-permission android:name="android.permission.RECEIVE_SMS" />
Chen Xu1843fb22019-10-20 19:32:33 -070031 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
32 <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" />
33 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
34 <uses-permission android:name="android.permission.WAKE_LOCK" />
35 <uses-permission android:name="android.permission.BROADCAST_SMS" />
Jack Yu1d109362020-02-11 23:13:36 -080036 <uses-permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" />
Chen Xu1843fb22019-10-20 19:32:33 -070037
Jack Yu90af67b2020-01-24 11:45:59 -080038 <protected-broadcast android:name="android.telephony.action.AREA_INFO_UPDATED" />
39
Chen Xu1843fb22019-10-20 19:32:33 -070040 <uses-sdk android:minSdkVersion="29"/>
41
Jack Yua51c50f2020-03-31 19:12:54 -070042 <application android:label="Cell Broadcast Service"
Chen Xu1843fb22019-10-20 19:32:33 -070043 android:defaultToDeviceProtectedStorage="true"
Chen Xu1843fb22019-10-20 19:32:33 -070044 android:directBootAware="true"
Jack Yua51c50f2020-03-31 19:12:54 -070045 android:persistent="true"
46 android:forceQueryable="true"
Chen Xu1843fb22019-10-20 19:32:33 -070047 android:process="com.android.phone">
48
49 <service android:name="DefaultCellBroadcastService"
50 android:process="com.android.phone"
51 android:exported="true"
52 android:permission="android.permission.BIND_CELL_BROADCAST_SERVICE">
53 <intent-filter>
54 <action android:name="android.telephony.CellBroadcastService" />
55 </intent-filter>
56 </service>
Jack Yua51c50f2020-03-31 19:12:54 -070057 <provider android:name="CellBroadcastProvider"
58 android:authorities="cellbroadcasts"
59 android:exported="true"
60 android:singleUser="true"
61 android:readPermission="android.permission.READ_CELL_BROADCASTS"
62 android:multiprocess="false" />
Chen Xu1843fb22019-10-20 19:32:33 -070063 </application>
64</manifest>