|
1 | | -<!-- mobsf-ignore: android_task_hijacking2 --> |
2 | | -<!-- This is added due to requiring launchMode="singleInstance" on activity aliases, |
3 | | - but launchMode does nothing on activity aliases --> |
4 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
5 | | - xmlns:tools="http://schemas.android.com/tools"> |
| 2 | + xmlns:tools="http://schemas.android.com/tools" |
| 3 | + tools:ignore="MissingLeanbackLauncher"> |
6 | 4 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
7 | 5 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
8 | 6 | <uses-permission android:name="android.permission.INTERNET" /> |
|
31 | 29 | <uses-feature android:glEsVersion="0x00020000" |
32 | 30 | android:required="false" /> |
33 | 31 |
|
34 | | - <application android:name=".MullvadApplication" |
| 32 | + <application android:name=".app.MullvadApplication" |
35 | 33 | android:allowBackup="false" |
36 | 34 | tools:targetApi="33" |
37 | 35 | android:memtagMode="async" |
|
66 | 64 | since after that it has been patched on a OS level. |
67 | 65 | --> |
68 | 66 | <activity |
69 | | - android:name="net.mullvad.mullvadvpn.ui.MainActivity" |
| 67 | + android:name="net.mullvad.mullvadvpn.app.MainActivity" |
70 | 68 | android:enableOnBackInvokedCallback="true" |
71 | 69 | android:launchMode="singleInstance" |
72 | 70 | android:screenOrientation="fullUser" |
|
82 | 80 | <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
83 | 81 | </intent-filter> |
84 | 82 | </activity> |
85 | | - <!-- Alternative icons names --> |
86 | | - <!-- Default --> |
87 | | - <activity-alias |
88 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltDefault" |
89 | | - android:enabled="true" |
90 | | - android:exported="true" |
91 | | - android:icon="@mipmap/ic_launcher" |
92 | | - android:banner="@mipmap/ic_banner" |
93 | | - android:label="@string/app_name" |
94 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
95 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
96 | | - <intent-filter> |
97 | | - <action android:name="android.intent.action.MAIN" /> |
98 | | - |
99 | | - <category android:name="android.intent.category.LAUNCHER" /> |
100 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
101 | | - </intent-filter> |
102 | | - <intent-filter> |
103 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
104 | | - </intent-filter> |
105 | | - <intent-filter> |
106 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
107 | | - </intent-filter> |
108 | | - </activity-alias> |
109 | | - <!-- Game --> |
110 | | - <activity-alias |
111 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltGame" |
112 | | - android:enabled="false" |
113 | | - android:exported="true" |
114 | | - android:icon="@mipmap/ic_launcher_game" |
115 | | - android:banner="@mipmap/ic_banner_game" |
116 | | - android:label="@string/app_name_game" |
117 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
118 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
119 | | - <intent-filter> |
120 | | - <action android:name="android.intent.action.MAIN" /> |
121 | | - |
122 | | - <category android:name="android.intent.category.LAUNCHER" /> |
123 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
124 | | - </intent-filter> |
125 | | - <intent-filter> |
126 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
127 | | - </intent-filter> |
128 | | - <intent-filter> |
129 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
130 | | - </intent-filter> |
131 | | - </activity-alias> |
132 | | - <!-- Weather --> |
133 | | - <activity-alias |
134 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltWeather" |
135 | | - android:enabled="false" |
136 | | - android:exported="true" |
137 | | - android:icon="@mipmap/ic_launcher_weather" |
138 | | - android:banner="@mipmap/ic_banner_weather" |
139 | | - android:label="@string/app_name_weather" |
140 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
141 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
142 | | - <intent-filter> |
143 | | - <action android:name="android.intent.action.MAIN" /> |
144 | | - |
145 | | - <category android:name="android.intent.category.LAUNCHER" /> |
146 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
147 | | - </intent-filter> |
148 | | - <intent-filter> |
149 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
150 | | - </intent-filter> |
151 | | - <intent-filter> |
152 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
153 | | - </intent-filter> |
154 | | - </activity-alias> |
155 | | - <!-- Notes --> |
156 | | - <activity-alias |
157 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltNotes" |
158 | | - android:enabled="false" |
159 | | - android:exported="true" |
160 | | - android:icon="@mipmap/ic_launcher_notes" |
161 | | - android:banner="@mipmap/ic_banner_notes" |
162 | | - android:label="@string/app_name_notes" |
163 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
164 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
165 | | - <intent-filter> |
166 | | - <action android:name="android.intent.action.MAIN" /> |
167 | | - |
168 | | - <category android:name="android.intent.category.LAUNCHER" /> |
169 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
170 | | - </intent-filter> |
171 | | - <intent-filter> |
172 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
173 | | - </intent-filter> |
174 | | - <intent-filter> |
175 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
176 | | - </intent-filter> |
177 | | - </activity-alias> |
178 | | - <!-- Ninja --> |
179 | | - <activity-alias |
180 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltNinja" |
181 | | - android:enabled="false" |
182 | | - android:exported="true" |
183 | | - android:icon="@mipmap/ic_launcher_ninja" |
184 | | - android:banner="@mipmap/ic_banner_ninja" |
185 | | - android:label="@string/app_name_ninja" |
186 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
187 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
188 | | - <intent-filter> |
189 | | - <action android:name="android.intent.action.MAIN" /> |
190 | | - |
191 | | - <category android:name="android.intent.category.LAUNCHER" /> |
192 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
193 | | - </intent-filter> |
194 | | - <intent-filter> |
195 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
196 | | - </intent-filter> |
197 | | - <intent-filter> |
198 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
199 | | - </intent-filter> |
200 | | - </activity-alias> |
201 | | - <!-- Browser --> |
202 | | - <activity-alias |
203 | | - android:name="net.mullvad.mullvadvpn.ui.obfuscation.MainActivityAltBrowser" |
204 | | - android:enabled="false" |
205 | | - android:exported="true" |
206 | | - android:icon="@mipmap/ic_launcher_browser" |
207 | | - android:banner="@mipmap/ic_banner_browser" |
208 | | - android:label="@string/app_name_browser" |
209 | | - android:targetActivity="net.mullvad.mullvadvpn.ui.MainActivity" |
210 | | - tools:ignore="DiscouragedApi,UnusedAttribute"> |
211 | | - <intent-filter> |
212 | | - <action android:name="android.intent.action.MAIN" /> |
213 | | - |
214 | | - <category android:name="android.intent.category.LAUNCHER" /> |
215 | | - <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
216 | | - </intent-filter> |
217 | | - <intent-filter> |
218 | | - <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> |
219 | | - </intent-filter> |
220 | | - <intent-filter> |
221 | | - <action android:name="net.mullvad.mullvadvpn.request_vpn_permission" /> |
222 | | - </intent-filter> |
223 | | - </activity-alias> |
224 | 83 | <!-- |
225 | 84 | foregroundServiceType="systemExempted" is required in Android 14+ |
226 | 85 | https://developer.android.com/guide/components/fg-service-types#system-exempted |
227 | 86 | --> |
228 | | - <service android:name="net.mullvad.mullvadvpn.service.MullvadVpnService" |
| 87 | + <service android:name="net.mullvad.mullvadvpn.app.service.MullvadVpnService" |
229 | 88 | android:exported="false" |
230 | 89 | android:foregroundServiceType="systemExempted" |
231 | 90 | android:permission="android.permission.BIND_VPN_SERVICE" |
|
249 | 108 | Tile services must be exported and protected by the bind tile permission |
250 | 109 | (android.permission.BIND_QUICK_SETTINGS_TILE). |
251 | 110 | --> |
252 | | - <service android:name="net.mullvad.mullvadvpn.tile.MullvadTileService" |
| 111 | + <service android:name="net.mullvad.mullvadvpn.app.tile.MullvadTileService" |
253 | 112 | android:exported="true" |
254 | 113 | android:icon="@drawable/small_logo_black" |
255 | 114 | android:label="@string/toggle_vpn" |
|
0 commit comments