-
Notifications
You must be signed in to change notification settings - Fork 2
/
AndroidManifest.xml
165 lines (147 loc) · 7.33 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="com.github.iusmac.sevensim"
android:sharedUserId="android.uid.system">
<uses-feature android:name="android.hardware.telephony" android:required="true"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" tools:ignore="ProtectedPermissions"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" android:maxSdkVersion="32"/>
<uses-permission android:name="android.permission.USE_EXACT_ALARM"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<application
android:name=".SevenSimApplication"
android:label="@string/app_name"
android:description="@string/app_description"
android:icon="@mipmap/ic_launcher"
android:appCategory="accessibility"
android:requiredForAllUsers="true"
android:supportsRtl="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:theme="@style/Theme.SubSettingsBase">
<activity
android:name=".ui.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<!--
Note that, the LauncherActivity is the desired "front-door" activity to be shown
in the launcher's app list. Under the hood, the LauncherActivity proxies this
activity because it can be disabled to hide the launcher icon in the launcher's
app list. Once the LauncherActivity component is disabled through
PackageManager.setComponentEnabledSetting(), the app effectively becomes useless
and unavailable anywhere. This puts the user in a situation where they are left
with no choice but to do a complete app reinstall or, in the case of
pre-installed app in the device's system partition as part of the ROM, even
resort to a factory reset. To avoid this issue, we must make this activity
resolvable via Intent.CATEGORY_INFO in the system built-in Settings app when
viewing App Info for this application. -->
<category android:name="android.intent.category.INFO"/>
</intent-filter>
</activity>
<activity
android:name=".ui.LauncherActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name=".ui.sim.SimListActivity"
android:exported="false">
</activity>
<activity
android:name=".ui.license.LicenseActivity"
android:label="@string/license_title"
android:exported="false">
</activity>
<activity
android:name=".ui.preferences.PreferenceListActivity"
android:label="@string/preference_list_title"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
</intent-filter>
</activity>
<receiver
android:name=".SystemBroadcastReceiver"
android:exported="false"
androidprv:systemUserOnly="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
<action android:name="android.intent.action.TIME_SET"/>
</intent-filter>
</receiver>
<service
android:name=".launcher.QsAppLauncherTileService"
android:description="@string/app_description"
android:icon="@drawable/ic_qs_sim_icon"
android:exported="true"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
<meta-data android:name="android.service.quicksettings.ACTIVE_TILE" android:value="true"/>
</service>
<service
android:name=".launcher.LauncherIconVisibilityChangerService"
android:stopWithTask="false"
android:exported="false">
</service>
<receiver
android:name=".scheduler.AlarmReceiver"
android:exported="false"
android:directBootAware="true"
androidprv:systemUserOnly="true">
</receiver>
<receiver
android:name=".DirectBootAwareBroadcastReceiver"
android:exported="true"
android:directBootAware="true"
androidprv:systemUserOnly="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED"/>
<action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED"/>
</intent-filter>
</receiver>
<service
android:name=".ForegroundService"
android:exported="false"
android:foregroundServiceType="systemExempted"
android:directBootAware="true">
</service>
<activity
android:name=".ui.scheduler.SchedulerActivity"
android:exported="false">
</activity>
<service
android:name=".PhoneCallEndObserverService"
android:exported="false"
android:foregroundServiceType="systemExempted"
android:directBootAware="true">
</service>
<activity
android:name=".ui.AuthenticationPromptActivity"
android:excludeFromRecents="true"
android:exported="false"
android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar">
</activity>
<service
android:name=".UserAuthenticationObserverService"
android:exported="false"
android:foregroundServiceType="systemExempted">
</service>
</application>
</manifest>