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:enableOnBackInvokedCallback="false" 31 android:networkSecurityConfig="@xml/network_security_config" > 32 33 <activity 34 android:name=".WfcActivationActivity" 35 android:exported="true" 36 android:screenOrientation="nosensor" 37 android:theme="@style/SudThemeGlif.Light"> 38 </activity> 39 40 <activity 41 android:name=".WfcQnsActivationActivity" 42 android:configChanges="orientation" 43 android:exported="true" 44 android:label="@string/emergency_address_app_label" 45 android:permission="android.permission.MODIFY_PHONE_STATE" 46 android:screenOrientation="nosensor" 47 android:theme="@android:style/Theme.Translucent.NoTitleBar" 48 android:windowFullscreen="false" 49 android:windowSoftInputMode="adjustResize"> 50 <intent-filter> 51 <action android:name="android.intent.action.MAIN" /> 52 <category android:name="android.intent.category.DEFAULT" /> 53 </intent-filter> 54 </activity> 55 56 <service 57 android:name=".ImsEntitlementPollingService" 58 android:exported="true" 59 android:permission="android.permission.BIND_JOB_SERVICE"> 60 </service> 61 62 <!-- START: FCM related components --> 63 <!-- The FcmReceiver is in GMS client lib; need to declare it here to receive FCM. --> 64 <receiver 65 android:name=".fcm.FcmRegistrationReceiver" 66 android:exported="true"> 67 <intent-filter> 68 <action android:name="android.intent.action.BOOT_COMPLETED" /> 69 </intent-filter> 70 </receiver> 71 72 <service 73 android:name=".fcm.FcmService" 74 android:exported="true"> 75 <intent-filter> 76 <action android:name="com.google.firebase.MESSAGING_EVENT" /> 77 </intent-filter> 78 </service> 79 80 <service 81 android:name=".fcm.FcmRegistrationService" 82 android:exported="true" 83 android:permission="android.permission.BIND_JOB_SERVICE"> 84 </service> 85 <!-- END: FCM related components --> 86 87 <receiver 88 android:name=".ImsEntitlementReceiver" 89 android:exported="true"> 90 <intent-filter> 91 <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" /> 92 </intent-filter> 93 </receiver> 94 </application> 95 96</manifest> 97