xref: /aosp_15_r20/frameworks/base/packages/CarrierDefaultApp/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*d57664e9SAndroid Build Coastguard Worker<!--
3*d57664e9SAndroid Build Coastguard Worker/*
4*d57664e9SAndroid Build Coastguard Worker * Copyright (C) 2016 The Android Open Source Project
5*d57664e9SAndroid Build Coastguard Worker *
6*d57664e9SAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License");
7*d57664e9SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License.
8*d57664e9SAndroid Build Coastguard Worker * You may obtain a copy of the License at
9*d57664e9SAndroid Build Coastguard Worker *
10*d57664e9SAndroid Build Coastguard Worker *      http://www.apache.org/licenses/LICENSE-2.0
11*d57664e9SAndroid Build Coastguard Worker *
12*d57664e9SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software
13*d57664e9SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS,
14*d57664e9SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15*d57664e9SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and
16*d57664e9SAndroid Build Coastguard Worker * limitations under the License.
17*d57664e9SAndroid Build Coastguard Worker */
18*d57664e9SAndroid Build Coastguard Worker-->
19*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20*d57664e9SAndroid Build Coastguard Worker    package="com.android.carrierdefaultapp">
21*d57664e9SAndroid Build Coastguard Worker
22*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERNET" />
23*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
24*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
25*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
26*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
27*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
28*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.NETWORK_BYPASS_PRIVATE_DNS" />
29*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
30*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
31*d57664e9SAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
32*d57664e9SAndroid Build Coastguard Worker
33*d57664e9SAndroid Build Coastguard Worker    <application
34*d57664e9SAndroid Build Coastguard Worker        android:label="@string/app_name"
35*d57664e9SAndroid Build Coastguard Worker        android:directBootAware="true"
36*d57664e9SAndroid Build Coastguard Worker        android:usesCleartextTraffic="true"
37*d57664e9SAndroid Build Coastguard Worker        android:icon="@mipmap/ic_launcher_android">
38*d57664e9SAndroid Build Coastguard Worker        <receiver android:name="com.android.carrierdefaultapp.CarrierDefaultBroadcastReceiver"
39*d57664e9SAndroid Build Coastguard Worker            android:exported="true">
40*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
41*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED" />
42*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.internal.telephony.CARRIER_SIGNAL_RESET" />
43*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.internal.telephony.CARRIER_SIGNAL_DEFAULT_NETWORK_AVAILABLE" />
44*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.LOCALE_CHANGED" />
45*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
46*d57664e9SAndroid Build Coastguard Worker        </receiver>
47*d57664e9SAndroid Build Coastguard Worker        <service android:name="com.android.carrierdefaultapp.ProvisionObserver"
48*d57664e9SAndroid Build Coastguard Worker                 android:permission="android.permission.BIND_JOB_SERVICE"/>
49*d57664e9SAndroid Build Coastguard Worker        <activity
50*d57664e9SAndroid Build Coastguard Worker            android:name="com.android.carrierdefaultapp.CaptivePortalLoginActivity"
51*d57664e9SAndroid Build Coastguard Worker            android:label="@string/action_bar_label"
52*d57664e9SAndroid Build Coastguard Worker            android:exported="true"
53*d57664e9SAndroid Build Coastguard Worker            android:enableOnBackInvokedCallback="false"
54*d57664e9SAndroid Build Coastguard Worker            android:permission="android.permission.MODIFY_PHONE_STATE"
55*d57664e9SAndroid Build Coastguard Worker            android:theme="@style/AppTheme"
56*d57664e9SAndroid Build Coastguard Worker            android:configChanges="keyboardHidden|orientation|screenSize">
57*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
58*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
59*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
60*d57664e9SAndroid Build Coastguard Worker        </activity>
61*d57664e9SAndroid Build Coastguard Worker
62*d57664e9SAndroid Build Coastguard Worker        <activity-alias
63*d57664e9SAndroid Build Coastguard Worker            android:name="com.android.carrierdefaultapp.URLHandlerActivity"
64*d57664e9SAndroid Build Coastguard Worker            android:targetActivity="com.android.carrierdefaultapp.CaptivePortalLoginActivity"
65*d57664e9SAndroid Build Coastguard Worker            android:enabled="false"
66*d57664e9SAndroid Build Coastguard Worker            android:exported="true">
67*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
68*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.VIEW" />
69*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
70*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.BROWSABLE" />
71*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="http" />
72*d57664e9SAndroid Build Coastguard Worker                <data android:scheme="https" />
73*d57664e9SAndroid Build Coastguard Worker                <data android:host="*" />
74*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
75*d57664e9SAndroid Build Coastguard Worker        </activity-alias>
76*d57664e9SAndroid Build Coastguard Worker
77*d57664e9SAndroid Build Coastguard Worker        <receiver android:name="com.android.carrierdefaultapp.SlicePurchaseBroadcastReceiver"
78*d57664e9SAndroid Build Coastguard Worker                  android:exported="true">
79*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
80*d57664e9SAndroid Build Coastguard Worker                <action android:name="android.intent.action.LOCALE_CHANGED" />
81*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.phone.slice.action.START_SLICE_PURCHASE_APP" />
82*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.phone.slice.action.SLICE_PURCHASE_APP_RESPONSE_TIMEOUT" />
83*d57664e9SAndroid Build Coastguard Worker                <action android:name="com.android.phone.slice.action.NOTIFICATION_CANCELED" />
84*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
85*d57664e9SAndroid Build Coastguard Worker        </receiver>
86*d57664e9SAndroid Build Coastguard Worker        <activity android:name="com.android.carrierdefaultapp.SlicePurchaseActivity"
87*d57664e9SAndroid Build Coastguard Worker                  android:label="@string/slice_purchase_app_label"
88*d57664e9SAndroid Build Coastguard Worker                  android:exported="true"
89*d57664e9SAndroid Build Coastguard Worker                  android:configChanges="keyboardHidden|orientation|screenSize">
90*d57664e9SAndroid Build Coastguard Worker            <intent-filter>
91*d57664e9SAndroid Build Coastguard Worker                <category android:name="android.intent.category.DEFAULT"/>
92*d57664e9SAndroid Build Coastguard Worker            </intent-filter>
93*d57664e9SAndroid Build Coastguard Worker        </activity>
94*d57664e9SAndroid Build Coastguard Worker    </application>
95*d57664e9SAndroid Build Coastguard Worker</manifest>
96