|
9 | 9 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
10 | 10 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
11 | 11 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 12 | + <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> |
12 | 13 |
|
13 | 14 | <uses-feature |
14 | 15 | android:name="android.hardware.touchscreen" |
|
24 | 25 | android:icon="@mipmap/ic_launcher" |
25 | 26 | android:label="@string/app_name" |
26 | 27 | android:logo="@mipmap/ic_launcher" |
27 | | - android:theme="@style/OpeningTheme" |
28 | 28 | android:resizeableActivity="true" |
| 29 | + android:theme="@style/OpeningTheme" |
29 | 30 | tools:ignore="AllowBackup"> |
30 | 31 | <activity |
31 | 32 | android:name=".MainActivity" |
| 33 | + android:exported="true" |
32 | 34 | android:label="@string/app_name" |
33 | 35 | android:launchMode="singleTask"> |
34 | 36 | <intent-filter> |
|
39 | 41 | </intent-filter> |
40 | 42 | </activity> |
41 | 43 |
|
42 | | - <receiver android:name="androidx.media.session.MediaButtonReceiver"> |
| 44 | + <receiver |
| 45 | + android:name="androidx.media.session.MediaButtonReceiver" |
| 46 | + android:exported="true"> |
43 | 47 | <intent-filter> |
44 | 48 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
45 | 49 | </intent-filter> |
46 | 50 | </receiver> |
47 | 51 |
|
48 | 52 | <service |
49 | 53 | android:name=".player.PlayerService" |
50 | | - android:exported="false" |
| 54 | + android:exported="true" |
51 | 55 | android:foregroundServiceType="mediaPlayback"> |
52 | 56 | <intent-filter> |
53 | 57 | <action android:name="android.intent.action.MEDIA_BUTTON" /> |
|
56 | 60 |
|
57 | 61 | <activity |
58 | 62 | android:name=".player.PlayQueueActivity" |
| 63 | + android:exported="false" |
59 | 64 | android:label="@string/title_activity_play_queue" |
60 | 65 | android:launchMode="singleTask" /> |
61 | 66 |
|
62 | 67 | <activity |
63 | 68 | android:name=".settings.SettingsActivity" |
| 69 | + android:exported="false" |
64 | 70 | android:label="@string/settings" /> |
65 | 71 |
|
66 | 72 | <activity |
67 | 73 | android:name=".about.AboutActivity" |
| 74 | + android:exported="false" |
68 | 75 | android:label="@string/title_activity_about" /> |
69 | 76 |
|
70 | 77 | <service android:name=".local.subscription.services.SubscriptionsImportService" /> |
|
73 | 80 |
|
74 | 81 | <activity |
75 | 82 | android:name=".PanicResponderActivity" |
| 83 | + android:exported="true" |
76 | 84 | android:launchMode="singleInstance" |
77 | 85 | android:noHistory="true" |
78 | 86 | android:theme="@android:style/Theme.NoDisplay"> |
|
85 | 93 |
|
86 | 94 | <activity |
87 | 95 | android:name=".ExitActivity" |
| 96 | + android:exported="false" |
88 | 97 | android:label="@string/general_error" |
89 | 98 | android:theme="@android:style/Theme.NoDisplay" /> |
90 | | - <activity android:name=".error.ErrorActivity" /> |
| 99 | + |
| 100 | + <activity |
| 101 | + android:name=".error.ErrorActivity" |
| 102 | + android:exported="false" /> |
91 | 103 |
|
92 | 104 | <!-- giga get related --> |
93 | 105 | <activity |
94 | 106 | android:name=".download.DownloadActivity" |
| 107 | + android:exported="false" |
95 | 108 | android:label="@string/app_name" |
96 | 109 | android:launchMode="singleTask" /> |
97 | 110 |
|
98 | 111 | <service android:name="us.shandian.giga.service.DownloadManagerService" /> |
99 | 112 |
|
100 | 113 | <activity |
101 | 114 | android:name=".util.FilePickerActivityHelper" |
| 115 | + android:exported="true" |
102 | 116 | android:label="@string/app_name" |
103 | 117 | android:theme="@style/FilePickerThemeDark"> |
104 | 118 | <intent-filter> |
|
109 | 123 |
|
110 | 124 | <activity |
111 | 125 | android:name=".error.ReCaptchaActivity" |
| 126 | + android:exported="false" |
112 | 127 | android:label="@string/recaptcha" /> |
113 | 128 |
|
114 | 129 | <provider |
|
124 | 139 | <activity |
125 | 140 | android:name=".RouterActivity" |
126 | 141 | android:excludeFromRecents="true" |
| 142 | + android:exported="true" |
127 | 143 | android:label="@string/preferred_open_action_share_menu_title" |
128 | 144 | android:taskAffinity="" |
129 | 145 | android:theme="@style/RouterActivityThemeDark"> |
|
353 | 369 |
|
354 | 370 | <!-- Bandcamp filter for tracks, albums and playlists --> |
355 | 371 | <intent-filter> |
356 | | - <action android:name="android.intent.action.VIEW"/> |
357 | | - <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/> |
358 | | - <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 372 | + <action android:name="android.intent.action.VIEW" /> |
| 373 | + <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" /> |
| 374 | + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
359 | 375 |
|
360 | | - <category android:name="android.intent.category.DEFAULT"/> |
361 | | - <category android:name="android.intent.category.BROWSABLE"/> |
| 376 | + <category android:name="android.intent.category.DEFAULT" /> |
| 377 | + <category android:name="android.intent.category.BROWSABLE" /> |
362 | 378 |
|
363 | | - <data android:scheme="http"/> |
364 | | - <data android:scheme="https"/> |
365 | | - <data android:host="*.bandcamp.com"/> |
| 379 | + <data android:scheme="http" /> |
| 380 | + <data android:scheme="https" /> |
| 381 | + <data android:host="*.bandcamp.com" /> |
366 | 382 | </intent-filter> |
367 | 383 |
|
368 | 384 | <!-- Bandcamp filter for radio --> |
369 | 385 | <intent-filter> |
370 | | - <action android:name="android.intent.action.VIEW"/> |
371 | | - <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/> |
372 | | - <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 386 | + <action android:name="android.intent.action.VIEW" /> |
| 387 | + <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" /> |
| 388 | + <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
373 | 389 |
|
374 | | - <category android:name="android.intent.category.DEFAULT"/> |
375 | | - <category android:name="android.intent.category.BROWSABLE"/> |
| 390 | + <category android:name="android.intent.category.DEFAULT" /> |
| 391 | + <category android:name="android.intent.category.BROWSABLE" /> |
376 | 392 |
|
377 | | - <data android:scheme="http"/> |
378 | | - <data android:scheme="https"/> |
379 | | - <data android:sspPattern="bandcamp.com/?show=*"/> |
| 393 | + <data android:scheme="http" /> |
| 394 | + <data android:scheme="https" /> |
| 395 | + <data android:sspPattern="bandcamp.com/?show=*" /> |
380 | 396 | </intent-filter> |
381 | 397 |
|
382 | 398 | </activity> |
|
385 | 401 | android:exported="false" /> |
386 | 402 |
|
387 | 403 | <!-- opting out of sending metrics to Google in Android System WebView --> |
388 | | - <meta-data android:name="android.webkit.WebView.MetricsOptOut" android:value="true" /> |
| 404 | + <meta-data |
| 405 | + android:name="android.webkit.WebView.MetricsOptOut" |
| 406 | + android:value="true" /> |
389 | 407 | <!-- see https://github.com/TeamNewPipe/NewPipe/issues/3947 --> |
390 | 408 | <!-- Version < 3.0. DeX Mode and Screen Mirroring support --> |
391 | | - <meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/> |
| 409 | + <meta-data |
| 410 | + android:name="com.samsung.android.keepalive.density" |
| 411 | + android:value="true" /> |
392 | 412 | <!-- Version >= 3.0. DeX Dual Mode support --> |
393 | | - <meta-data android:name="com.samsung.android.multidisplay.keep_process_alive" android:value="true"/> |
| 413 | + <meta-data |
| 414 | + android:name="com.samsung.android.multidisplay.keep_process_alive" |
| 415 | + android:value="true" /> |
394 | 416 | </application> |
395 | 417 | </manifest> |
0 commit comments