1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<manifest xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:tools="http://schemas.android.com/tools" 18 package="com.android.imsserviceentitlement"> 19 20 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 21 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> 22 <uses-permission android:name="android.permission.INTERNET"/> 23 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> 24 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> 25 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 26 <uses-permission android:name="android.permission.WAKE_LOCK"/> 27 <uses-permission android:name="com.google.android.setupwizard.SETUP_COMPAT_SERVICE"/> 28 29 <application 30 android:networkSecurityConfig="@xml/network_security_config" > 31 32 <activity 33 android:name=".WfcActivationActivity" 34 android:exported="true" 35 android:screenOrientation="nosensor" 36 android:theme="@style/SudThemeGlif.Light"> 37 </activity> 38 39 <activity 40 android:name=".WfcQnsActivationActivity" 41 android:configChanges="orientation" 42 android:exported="true" 43 android:label="@string/emergency_address_app_label" 44 android:permission="android.permission.MODIFY_PHONE_STATE" 45 android:screenOrientation="nosensor" 46 android:theme="@android:style/Theme.Translucent.NoTitleBar" 47 android:windowFullscreen="false" 48 android:windowSoftInputMode="adjustResize"> 49 <intent-filter> 50 <action android:name="android.intent.action.MAIN" /> 51 <category android:name="android.intent.category.DEFAULT" /> 52 </intent-filter> 53 </activity> 54 55 <service 56 android:name=".ImsEntitlementPollingService" 57 android:exported="true" 58 android:permission="android.permission.BIND_JOB_SERVICE"> 59 </service> 60 61 <!-- START: FCM related components --> 62 <!-- The FcmReceiver is in GMS client lib; need to declare it here to receive FCM. --> 63 <receiver 64 android:name=".fcm.FcmRegistrationReceiver" 65 android:exported="true"> 66 <intent-filter> 67 <action android:name="android.intent.action.BOOT_COMPLETED" /> 68 </intent-filter> 69 </receiver> 70 71 <service 72 android:name=".fcm.FcmService" 73 android:exported="true"> 74 <intent-filter> 75 <action android:name="com.google.firebase.MESSAGING_EVENT" /> 76 </intent-filter> 77 </service> 78 79 <service 80 android:name=".fcm.FcmRegistrationService" 81 android:exported="true" 82 android:permission="android.permission.BIND_JOB_SERVICE"> 83 </service> 84 <!-- END: FCM related components --> 85 86 <receiver 87 android:name=".ImsEntitlementReceiver" 88 android:exported="true"> 89 <intent-filter> 90 <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" /> 91 </intent-filter> 92 </receiver> 93 </application> 94 95</manifest> 96