blob: 3284457307591e87d39aa59c8da3556b5a5cb5e6 [file] [log] [blame]
<?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.networkstack"
android:versionCode="300000000"
android:versionName="R-initial"
package="com.android.cellbroadcastservice">
<original-package android:name="com.android.cellbroadcastservice" />
<!-- gives the permission holder access to the CellBroadcastProvider.
TODO(b/149115145): This permission should have protectionLevel="signature" but currently in
AOSP the CellBroadcastReceiverApp is signed with the networkstack certificate while the
CellBroadcastService is still using the platform cert.
Once the certs match we can mark this permission "signature" and prevent other apps from
using it but for now we just leave the permission open. -->
<permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST" />
<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="android.permission.BROADCAST_SMS" />
<uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS" />
<protected-broadcast android:name="android.telephony.action.AREA_INFO_UPDATED" />
<uses-sdk android:minSdkVersion="29"/>
<application android:label="Module used to handle cell broadcasts."
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true"
android:persistent="true"
android:process="com.android.networkstack.process">
<service android:name="DefaultCellBroadcastService"
android:process="com.android.networkstack.process"
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>