AndroidManifest.xml 30.7 KB
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:tools="http://schemas.android.com/tools"
Sébastien Toque's avatar
Sébastien Toque committed
4
    package="org.videolan.vlc"
5
    android:installLocation="auto">
Geoffrey Métais's avatar
Geoffrey Métais committed
6

7
    <uses-sdk
8
        tools:overrideLibrary="android.support.media.tv, androidx.tvprovider" />
9 10 11 12 13 14 15 16 17

    <uses-permission android:name="android.permission.READ_LOGS"
        android:maxSdkVersion="18" /> <!-- android:maxSdkVersion="15" -->

    <!-- vibration on audioplayer buttons long press -->
    <uses-permission android:name="android.permission.VIBRATE" />

    <!-- used for setting ringtone -->
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Sébastien Toque's avatar
Sébastien Toque committed
18

19
    <!-- STORAGE -->
20
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
21 22 23 24

    <!-- Internet -->
    <uses-permission android:name="android.permission.INTERNET" />

25 26 27
    <!-- Launch recommendations service once device is booted -->
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

28 29 30
    <!-- Audio search on TV -->
    <uses-permission android:name="android.permission.RECORD_AUDIO" />

31 32 33
    <!-- USe foreground services -->
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

34 35
    <!-- normal -->
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
36
    <uses-permission android:name="android.permission.WAKE_LOCK" />
37
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
38
    <uses-permission android:name="android.permission.BLUETOOTH"/>
Sébastien Toque's avatar
Sébastien Toque committed
39

40
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
41

42
    <uses-permission android:name="org.videolan.vlc.permission.READ_EXTENSION_DATA"/>
43

44 45 46
    <uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA" />
    <uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" />

47
    <uses-feature android:name="android.software.leanback"
48
        android:required="false" />
49 50 51 52 53 54
    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false" />
    <uses-feature android:name="android.hardware.microphone"
        android:required="false"/>

55 56 57
    <uses-feature android:name="android.hardware.bluetooth"
        android:required="false" />

58
    <application
59
        android:name="org.videolan.vlc.VLCApplication"
60
        android:hardwareAccelerated="true"
61 62
        android:allowBackup="true"
        android:fullBackupContent="@xml/backup_rules"
Geoffrey Métais's avatar
Geoffrey Métais committed
63
        android:largeHeap="true"
64
        android:icon="@mipmap/ic_launcher"
65
        android:roundIcon="@mipmap/ic_launcher"
Geoffrey Métais's avatar
Geoffrey Métais committed
66
        android:banner="@drawable/banner"
67
        android:label="@string/app_name"
68
        android:logo="@drawable/icon"
69
        android:theme="@style/Theme.VLC.Transparent"
Geoffrey Métais's avatar
Geoffrey Métais committed
70
        android:supportsRtl="true"
71
        android:appCategory="video"
72
        android:usesCleartextTraffic="true"
73
        tools:targetApi="o">
74 75 76

        <!-- Enable VLC in Samsung multiwindow mode -->
        <meta-data android:name="com.samsung.android.sdk.multiwindow.enable" android:value="true" />
77 78
        <!-- Enable VLC in LG split window mode -->
        <meta-data android:name="com.lge.support.SPLIT_WINDOW" android:value="true" />
79 80 81 82 83
        <!-- Android auto -->
        <meta-data android:name="com.google.android.gms.car.application"
            android:resource="@xml/automotive_app_desc"/>
        <meta-data android:name="com.google.android.gms.car.notification.SmallIcon"
            android:resource="@drawable/icon" />
84 85
        <meta-data
            android:name="android.max_aspect"
86
            android:value="3" />
Geoffrey Métais's avatar
Geoffrey Métais committed
87 88
        <activity android:name=".StartActivity"
            android:icon="@drawable/icon" >
89 90 91 92 93 94
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
            </intent-filter>
Geoffrey Métais's avatar
Geoffrey Métais committed
95
             <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
96 97 98 99 100 101 102 103
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT" />
                <data
                    android:scheme="vlclauncher"
                    android:host="${applicationId}" />
            </intent-filter>
104

105
            <!-- This filter captures protocols without type info -->
106 107
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
108

109
                <category android:name="android.intent.category.DEFAULT" />
110
                <category android:name="android.intent.category.BROWSABLE" />
111 112 113 114 115 116 117 118 119 120 121

                <data android:scheme="rtmp" />
                <data android:scheme="rtmpe" />
                <data android:scheme="rtmps" />
                <data android:scheme="rtp" />
                <data android:scheme="rtsp" />
                <data android:scheme="mms" />
                <data android:scheme="mmsh" />
                <data android:scheme="icyx" />
                <data android:scheme="httplive" />
                <data android:scheme="udp" />
122
                <data android:scheme="vlc" />
123 124 125 126
            </intent-filter>
            <!-- This filter captures protocols with type info -->
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
127

128 129
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
130

131 132
                <data android:mimeType="video/*" />
                <data android:mimeType="audio/*" />
133
                <data android:scheme="rtmp" />
134 135
                <data android:scheme="rtmpe" />
                <data android:scheme="rtmps" />
136
                <data android:scheme="rtp" />
137
                <data android:scheme="rtsp" />
138 139 140
                <data android:scheme="mms" />
                <data android:scheme="mmsh" />
                <data android:scheme="icyx" />
141
                <data android:scheme="httplive" />
142
                <data android:scheme="udp" />
143
                <data android:scheme="vlc" />
144 145 146
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
147

148 149
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
150

151 152 153
                <data android:scheme="" />
                <data android:scheme="file" />
                <data android:scheme="ftp" />
154 155
                <data android:scheme="ftps" />
                <data android:scheme="sftp" />
156 157 158
                <data android:scheme="content" />
                <data android:scheme="http" />
                <data android:scheme="https" />
159
                <data android:scheme="smb" />
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
                <data android:mimeType="video/*" />
                <data android:mimeType="audio/*" />
                <data android:mimeType="*/rmvb" />
                <data android:mimeType="*/avi" />
                <data android:mimeType="*/mkv" />
                <data android:mimeType="application/3gpp*" />
                <data android:mimeType="application/mp4" />
                <data android:mimeType="application/mpeg*" />
                <data android:mimeType="application/ogg" />
                <data android:mimeType="application/sdp" />
                <data android:mimeType="application/vnd.3gp*" />
                <data android:mimeType="application/vnd.apple.mpegurl" />
                <data android:mimeType="application/vnd.dvd*" />
                <data android:mimeType="application/vnd.dolby*" />
                <data android:mimeType="application/vnd.rn-realmedia*" />
175
                <data android:mimeType="application/x-iso9660-image" />
176 177 178 179 180 181 182 183 184 185 186 187
                <data android:mimeType="application/x-extension-mp4" />
                <data android:mimeType="application/x-flac" />
                <data android:mimeType="application/x-matroska" />
                <data android:mimeType="application/x-mpegURL" />
                <data android:mimeType="application/x-ogg" />
                <data android:mimeType="application/x-quicktimeplayer" />
                <data android:mimeType="application/x-shockwave-flash" />
                <data android:mimeType="application/xspf+xml" />
                <data android:mimeType="misc/ultravox" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
188

189 190
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
191

192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
                <data android:scheme="" />
                <data android:scheme="file" />
                <data android:scheme="ftp" />
                <data android:scheme="content" />
                <data android:scheme="http" />
                <data android:scheme="https" />
                <data android:host="*" />

                <!-- video -->

                <data android:pathPattern=".*\\.3g2" />
                <data android:pathPattern=".*\\.3gp" />
                <data android:pathPattern=".*\\.3gp2" />
                <data android:pathPattern=".*\\.3gpp" />
                <data android:pathPattern=".*\\.amv" />
                <data android:pathPattern=".*\\.asf" />
                <data android:pathPattern=".*\\.avi" />
                <data android:pathPattern=".*\\.divx" />
                <data android:pathPattern=".*\\.drc" />
                <data android:pathPattern=".*\\.dv" />
                <data android:pathPattern=".*\\.f4v" />
                <data android:pathPattern=".*\\.flv" />
                <data android:pathPattern=".*\\.gvi" />
                <data android:pathPattern=".*\\.gxf" />
Edward Wang's avatar
Edward Wang committed
216
                <data android:pathPattern=".*\\.ismv" />
217 218 219 220 221 222 223 224 225 226 227 228
                <data android:pathPattern=".*\\.iso" />
                <data android:pathPattern=".*\\.m1v" />
                <data android:pathPattern=".*\\.m2v" />
                <data android:pathPattern=".*\\.m2t" />
                <data android:pathPattern=".*\\.m2ts" />
                <data android:pathPattern=".*\\.m3u8" />
                <data android:pathPattern=".*\\.mkv" />
                <data android:pathPattern=".*\\.mov" />
                <data android:pathPattern=".*\\.mp2" />
                <data android:pathPattern=".*\\.mp2v" />
                <data android:pathPattern=".*\\.mp4" />
                <data android:pathPattern=".*\\.mp4v" />
229
                <data android:pathPattern=".*\\.m4v" />
230 231 232 233 234 235 236 237 238 239 240 241
                <data android:pathPattern=".*\\.mpe" />
                <data android:pathPattern=".*\\.mpeg" />
                <data android:pathPattern=".*\\.mpeg1" />
                <data android:pathPattern=".*\\.mpeg2" />
                <data android:pathPattern=".*\\.mpeg4" />
                <data android:pathPattern=".*\\.mpg" />
                <data android:pathPattern=".*\\.mpv2" />
                <data android:pathPattern=".*\\.mts" />
                <data android:pathPattern=".*\\.mtv" />
                <data android:pathPattern=".*\\.mxf" />
                <data android:pathPattern=".*\\.mxg" />
                <data android:pathPattern=".*\\.nsv" />
Edward Wang's avatar
Edward Wang committed
242
                <data android:pathPattern=".*\\.nut" />
243 244 245 246 247 248 249 250 251
                <data android:pathPattern=".*\\.nuv" />
                <data android:pathPattern=".*\\.ogm" />
                <data android:pathPattern=".*\\.ogv" />
                <data android:pathPattern=".*\\.ogx" />
                <data android:pathPattern=".*\\.ps" />
                <data android:pathPattern=".*\\.rec" />
                <data android:pathPattern=".*\\.rm" />
                <data android:pathPattern=".*\\.rmvb" />
                <data android:pathPattern=".*\\.tod" />
252
                <data android:pathPattern=".*\\.trp" />
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
                <data android:pathPattern=".*\\.ts" />
                <data android:pathPattern=".*\\.tts" />
                <data android:pathPattern=".*\\.vob" />
                <data android:pathPattern=".*\\.vro" />
                <data android:pathPattern=".*\\.webm" />
                <data android:pathPattern=".*\\.wm" />
                <data android:pathPattern=".*\\.wmv" />
                <data android:pathPattern=".*\\.wtv" />
                <data android:pathPattern=".*\\.xesc" />
                <data android:pathPattern=".*\\.3G2" />
                <data android:pathPattern=".*\\.3GP" />
                <data android:pathPattern=".*\\.3GP2" />
                <data android:pathPattern=".*\\.3GPP" />
                <data android:pathPattern=".*\\.AMV" />
                <data android:pathPattern=".*\\.ASF" />
                <data android:pathPattern=".*\\.AVI" />
                <data android:pathPattern=".*\\.DIVX" />
                <data android:pathPattern=".*\\.DRC" />
                <data android:pathPattern=".*\\.DV" />
                <data android:pathPattern=".*\\.F4V" />
                <data android:pathPattern=".*\\.FLV" />
                <data android:pathPattern=".*\\.GVI" />
                <data android:pathPattern=".*\\.GXF" />
Edward Wang's avatar
Edward Wang committed
276
                <data android:pathPattern=".*\\.ISMV" />
277 278 279 280 281 282 283 284 285 286 287 288
                <data android:pathPattern=".*\\.ISO" />
                <data android:pathPattern=".*\\.M1V" />
                <data android:pathPattern=".*\\.M2V" />
                <data android:pathPattern=".*\\.M2T" />
                <data android:pathPattern=".*\\.M2TS" />
                <data android:pathPattern=".*\\.M3U8" />
                <data android:pathPattern=".*\\.MKV" />
                <data android:pathPattern=".*\\.MOV" />
                <data android:pathPattern=".*\\.MP2" />
                <data android:pathPattern=".*\\.MP2V" />
                <data android:pathPattern=".*\\.MP4" />
                <data android:pathPattern=".*\\.MP4V" />
289
                <data android:pathPattern=".*\\.M4V" />
290 291 292 293 294 295 296 297 298 299 300 301
                <data android:pathPattern=".*\\.MPE" />
                <data android:pathPattern=".*\\.MPEG" />
                <data android:pathPattern=".*\\.MPEG1" />
                <data android:pathPattern=".*\\.MPEG2" />
                <data android:pathPattern=".*\\.MPEG4" />
                <data android:pathPattern=".*\\.MPG" />
                <data android:pathPattern=".*\\.MPV2" />
                <data android:pathPattern=".*\\.MTS" />
                <data android:pathPattern=".*\\.MTV" />
                <data android:pathPattern=".*\\.MXF" />
                <data android:pathPattern=".*\\.MXG" />
                <data android:pathPattern=".*\\.NSV" />
Edward Wang's avatar
Edward Wang committed
302
                <data android:pathPattern=".*\\.NUT" />
303 304 305 306 307 308 309 310 311
                <data android:pathPattern=".*\\.NUV" />
                <data android:pathPattern=".*\\.OGM" />
                <data android:pathPattern=".*\\.OGV" />
                <data android:pathPattern=".*\\.OGX" />
                <data android:pathPattern=".*\\.PS" />
                <data android:pathPattern=".*\\.REC" />
                <data android:pathPattern=".*\\.RM" />
                <data android:pathPattern=".*\\.RMVB" />
                <data android:pathPattern=".*\\.TOD" />
312
                <data android:pathPattern=".*\\.TRP" />
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
                <data android:pathPattern=".*\\.TS" />
                <data android:pathPattern=".*\\.TTS" />
                <data android:pathPattern=".*\\.VOB" />
                <data android:pathPattern=".*\\.VRO" />
                <data android:pathPattern=".*\\.WEBM" />
                <data android:pathPattern=".*\\.WM" />
                <data android:pathPattern=".*\\.WMV" />
                <data android:pathPattern=".*\\.WTV" />
                <data android:pathPattern=".*\\.XESC" />

                <!-- audio -->

                <data android:pathPattern=".*\\.3ga" />
                <data android:pathPattern=".*\\.a52" />
                <data android:pathPattern=".*\\.aac" />
                <data android:pathPattern=".*\\.ac3" />
                <data android:pathPattern=".*\\.adt" />
                <data android:pathPattern=".*\\.adts" />
                <data android:pathPattern=".*\\.aif" />
                <data android:pathPattern=".*\\.aifc" />
                <data android:pathPattern=".*\\.aiff" />
                <data android:pathPattern=".*\\.amr" />
                <data android:pathPattern=".*\\.aob" />
                <data android:pathPattern=".*\\.ape" />
                <data android:pathPattern=".*\\.awb" />
                <data android:pathPattern=".*\\.caf" />
                <data android:pathPattern=".*\\.dts" />
                <data android:pathPattern=".*\\.flac" />
                <data android:pathPattern=".*\\.it" />
                <data android:pathPattern=".*\\.m4a" />
343
                <data android:pathPattern=".*\\.m4b" />
344 345 346 347 348 349 350 351 352 353
                <data android:pathPattern=".*\\.m4p" />
                <data android:pathPattern=".*\\.mid" />
                <data android:pathPattern=".*\\.mka" />
                <data android:pathPattern=".*\\.mlp" />
                <data android:pathPattern=".*\\.mod" />
                <data android:pathPattern=".*\\.mpa" />
                <data android:pathPattern=".*\\.mp1" />
                <data android:pathPattern=".*\\.mp2" />
                <data android:pathPattern=".*\\.mp3" />
                <data android:pathPattern=".*\\.mpc" />
354
                <data android:pathPattern=".*\\.mpga" />
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
                <data android:pathPattern=".*\\.oga" />
                <data android:pathPattern=".*\\.ogg" />
                <data android:pathPattern=".*\\.oma" />
                <data android:pathPattern=".*\\.opus" />
                <data android:pathPattern=".*\\.ra" />
                <data android:pathPattern=".*\\.rmi" />
                <data android:pathPattern=".*\\.s3m" />
                <data android:pathPattern=".*\\.spx" />
                <data android:pathPattern=".*\\.tta" />
                <data android:pathPattern=".*\\.voc" />
                <data android:pathPattern=".*\\.vqf" />
                <data android:pathPattern=".*\\.w64" />
                <data android:pathPattern=".*\\.wav" />
                <data android:pathPattern=".*\\.wma" />
                <data android:pathPattern=".*\\.wv" />
                <data android:pathPattern=".*\\.xa" />
                <data android:pathPattern=".*\\.xm" />
                <data android:pathPattern=".*\\.3GA" />
                <data android:pathPattern=".*\\.A52" />
                <data android:pathPattern=".*\\.AAC" />
                <data android:pathPattern=".*\\.AC3" />
                <data android:pathPattern=".*\\.ADT" />
                <data android:pathPattern=".*\\.ADTS" />
                <data android:pathPattern=".*\\.AIF" />
                <data android:pathPattern=".*\\.AIFC" />
                <data android:pathPattern=".*\\.AIFF" />
                <data android:pathPattern=".*\\.AMR" />
                <data android:pathPattern=".*\\.AOB" />
                <data android:pathPattern=".*\\.APE" />
                <data android:pathPattern=".*\\.AWB" />
                <data android:pathPattern=".*\\.CAF" />
                <data android:pathPattern=".*\\.DTS" />
                <data android:pathPattern=".*\\.FLAC" />
                <data android:pathPattern=".*\\.IT" />
                <data android:pathPattern=".*\\.M4A" />
390
                <data android:pathPattern=".*\\.M4B" />
391 392 393 394 395 396 397 398 399 400
                <data android:pathPattern=".*\\.M4P" />
                <data android:pathPattern=".*\\.MID" />
                <data android:pathPattern=".*\\.MKA" />
                <data android:pathPattern=".*\\.MLP" />
                <data android:pathPattern=".*\\.MOD" />
                <data android:pathPattern=".*\\.MPA" />
                <data android:pathPattern=".*\\.MP1" />
                <data android:pathPattern=".*\\.MP2" />
                <data android:pathPattern=".*\\.MP3" />
                <data android:pathPattern=".*\\.MPC" />
401
                <data android:pathPattern=".*\\.MPGA" />
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
                <data android:pathPattern=".*\\.OGA" />
                <data android:pathPattern=".*\\.OGG" />
                <data android:pathPattern=".*\\.OMA" />
                <data android:pathPattern=".*\\.OPUS" />
                <data android:pathPattern=".*\\.RA" />
                <data android:pathPattern=".*\\.RMI" />
                <data android:pathPattern=".*\\.S3M" />
                <data android:pathPattern=".*\\.SPX" />
                <data android:pathPattern=".*\\.TTA" />
                <data android:pathPattern=".*\\.VOC" />
                <data android:pathPattern=".*\\.VQF" />
                <data android:pathPattern=".*\\.W64" />
                <data android:pathPattern=".*\\.WAV" />
                <data android:pathPattern=".*\\.WMA" />
                <data android:pathPattern=".*\\.WV" />
                <data android:pathPattern=".*\\.XA" />
                <data android:pathPattern=".*\\.XM" />
419 420 421 422 423 424 425 426 427

                <!-- playlist -->

                <data android:pathPattern=".*\\.asx" />
                <data android:pathPattern=".*\\.ASX" />
                <data android:pathPattern=".*\\.m3u" />
                <data android:pathPattern=".*\\.M3U" />
                <data android:pathPattern=".*\\.pls" />
                <data android:pathPattern=".*\\.PLS" />
428 429
                <data android:pathPattern=".*\\.ram" />
                <data android:pathPattern=".*\\.RAM" />
430 431
                <data android:pathPattern=".*\\.xspf" />
                <data android:pathPattern=".*\\.XSPF" />
432
            </intent-filter>
433 434 435 436 437
            <intent-filter android:label="Play with VLC">
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="*/*" />
            </intent-filter>
438 439 440 441 442 443 444 445 446 447
            <!-- Search -->
            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>
            <intent-filter>
                <action android:name="com.google.android.gms.actions.SEARCH_ACTION"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
            <meta-data android:name="android.app.searchable"
                android:resource="@xml/searchable"/>
448 449 450 451
            <intent-filter>
                <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
452
        </activity>
453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
        <activity
            android:name=".gui.MainActivity"
            android:icon="@drawable/icon"
            android:label="@string/app_name"
            android:launchMode="singleTask"
            android:windowSoftInputMode="adjustPan"
            android:theme="@style/Theme.VLC" >
            <meta-data android:name="android.app.searchable"
                android:resource="@xml/searchable" />

        </activity>
        <activity
            android:name=".gui.SecondaryActivity"
            android:windowSoftInputMode="adjustPan"
            android:theme="@style/Theme.VLC"/>
468 469
        <activity
            android:name=".gui.PlaylistActivity"
470 471 472
            android:theme="@style/Theme.VLC"/>
        <activity
            android:name=".gui.InfoActivity"
473
            android:theme="@style/Theme.VLC"/>
474 475
        <activity
            android:name=".gui.SearchActivity"
476
            android:theme="@style/Theme.VLC"/>
477 478 479 480 481 482 483 484
        <activity
            android:name=".gui.browser.FilePickerActivity"
            android:theme="@style/Theme.VLC.PickerDialog"/>
        <activity android:name=".gui.CompatErrorActivity" />
        <activity android:name=".gui.preferences.PreferencesActivity"
            android:theme="@style/Theme.VLC" />
        <activity
            android:name=".gui.video.VideoPlayerActivity"
485
            android:resizeableActivity="true"
486
            android:finishOnTaskLaunch="true"
487 488
            android:supportsPictureInPicture="true"
            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
489
            android:exported="true"
490
            android:launchMode="singleTask"
491 492 493 494
            android:theme="@style/Theme.VLC.Player" />

        <activity
            android:name=".gui.DialogActivity"
495
            android:configChanges="orientation|screenSize"
496
            android:theme="@style/VLCTransparentTheme" />
497

498 499 500
        <activity
            android:name=".gui.wizard.MLWizardActivity"
            android:configChanges="orientation|screenSize"
501
            android:theme="@style/Theme.MaterialComponents.Light.Dialog"
502 503
            android:label="@string/ml_wizard_title"/>

504
        <service android:name=".extensions.ExtensionManagerService" />
Geoffrey Métais's avatar
Geoffrey Métais committed
505
        <service android:name=".PlaybackService" >
506
            <intent-filter>
507
                <action android:name="android.media.browse.MediaBrowserService" />
508
            </intent-filter>
509
        </service>
510
        <service android:name=".MediaParsingService" />
511
        <receiver
512
            android:name=".widget.VLCAppWidgetProviderWhite"
513
            android:exported="false"
514
            android:label="@string/widget_name_w" >
515 516
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
517 518 519 520
                <action android:name="${applicationId}.widget.INIT" />
                <action android:name="${applicationId}.widget.UPDATE" />
                <action android:name="${applicationId}.widget.UPDATE_COVER" />
                <action android:name="${applicationId}.widget.UPDATE_POSITION" />
521 522 523 524
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
525
                android:resource="@xml/widget_provider_w" />
526
        </receiver>
527 528 529 530 531 532
        <receiver
            android:name=".widget.VLCAppWidgetProviderBlack"
            android:exported="false"
            android:label="@string/widget_name_b" >
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
533 534 535 536
                <action android:name="${applicationId}.widget.INIT" />
                <action android:name="${applicationId}.widget.UPDATE" />
                <action android:name="${applicationId}.widget.UPDATE_COVER" />
                <action android:name="${applicationId}.widget.UPDATE_POSITION" />
537 538 539 540 541 542
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/widget_provider_b" />
        </receiver>
543
        <receiver android:name="androidx.media.session.MediaButtonReceiver" >
544 545 546 547
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>
548 549 550

        <activity
            android:name=".gui.video.benchmark.BenchActivity"
551
            android:screenOrientation="landscape"
552
            android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
553 554 555 556
            android:exported="true"
            android:launchMode="singleInstance"
            android:theme="@style/Theme.VLC.Player" />

557 558 559 560 561
        <!-- TV components -->
        <activity
            android:name="org.videolan.vlc.gui.tv.MainTvActivity"
            android:label="@string/app_name"
            android:launchMode="singleInstance"
562
            android:screenOrientation="landscape"
Geoffrey Métais's avatar
Geoffrey Métais committed
563
            android:theme="@style/Theme.VLC.TV" />
564 565 566
        <activity
            android:name="org.videolan.vlc.gui.tv.DetailsActivity"
            android:exported="true"
567
            android:screenOrientation="landscape"
568
            android:theme="@style/Theme.Leanback.Details" />
569 570 571
        <activity
            android:name=".gui.tv.browser.VerticalGridActivity"
            android:exported="true"
572
            android:screenOrientation="landscape"
Geoffrey Métais's avatar
Geoffrey Métais committed
573
            android:theme="@style/Theme.VLC.TV"  />
574 575 576
        <activity
            android:name="org.videolan.vlc.gui.tv.SearchActivity"
            android:exported="true"
577
            android:screenOrientation="landscape"
Geoffrey Métais's avatar
Geoffrey Métais committed
578
            android:theme="@style/Theme.VLC.TV"  />
579 580 581
        <activity
            android:name="org.videolan.vlc.gui.tv.audioplayer.AudioPlayerActivity"
            android:exported="true"
582
            android:launchMode="singleTask"
583
            android:screenOrientation="landscape"
584
            android:allowTaskReparenting="true"
Geoffrey Métais's avatar
Geoffrey Métais committed
585
            android:theme="@style/Theme.VLC.TV"  />
586
        <activity android:name=".gui.tv.preferences.PreferencesActivity"
587
            android:screenOrientation="landscape"
588
            android:theme="@style/Theme.VLC.Leanback.Preferences" />
Geoffrey Métais's avatar
Geoffrey Métais committed
589
        <activity android:name=".gui.tv.AboutActivity"
590
            android:screenOrientation="landscape"
Geoffrey Métais's avatar
Geoffrey Métais committed
591
            android:theme="@style/Theme.VLC.TV"  />
Geoffrey Métais's avatar
Geoffrey Métais committed
592
        <activity android:name=".gui.tv.LicenceActivity"
593
            android:screenOrientation="landscape"
Geoffrey Métais's avatar
Geoffrey Métais committed
594
            android:theme="@style/Theme.VLC.TV"  />
595 596

        <service
597
            android:name=".RecommendationsService"
598 599 600 601
            android:exported="false" >
        </service>

        <receiver
602
            android:name=".TvReceiver"
603 604
            android:enabled="true"
            android:exported="true" >
605 606 607
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
                <action android:name="android.media.tv.action.PREVIEW_PROGRAM_ADDED_TO_WATCH_NEXT" />
608 609 610
                <action android:name="android.media.tv.ACTION_WATCH_NEXT_PROGRAM_BROWSABLE_DISABLED" />
                <action android:name="android.media.tv.action.PREVIEW_PROGRAM_BROWSABLE_DISABLED" />
                <action android:name="android.media.tv.action.INITIALIZE_PROGRAMS" />
611 612
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
613
        </receiver>
614

615 616 617 618 619 620 621 622 623 624 625 626
        <receiver
            android:name=".StoragesMonitor"
            android:enabled="false"
            android:exported="true" >
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_MOUNTED"/>
                <action android:name="android.intent.action.MEDIA_REMOVED"/>
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
            </intent-filter>
        </receiver>

627
        <provider
628 629
            android:authorities="${applicationId}.thumbprovider"
            android:name=".FileProvider"
630 631 632
            android:exported="true"
            android:grantUriPermissions="true">
        </provider>
633 634 635 636 637 638 639 640 641
        <service android:name=".PreviewVideoInputService"
            android:permission="android.permission.BIND_TV_INPUT">
            <intent-filter>
                <action android:name="android.media.tv.TvInputService" />
            </intent-filter>
            <meta-data
                android:name="android.media.tv.input"
                android:resource="@xml/previewinputservice" />
        </service>
642
    </application>
643

644
</manifest>