<?xmlversion="1.0"encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"><uses-permissionandroid:name="android.permission.FOREGROUND_SERVICE" /><!-- Keep on phone's files come down in the foreground, past the app's end (the shell's Transfers). --><uses-permissionandroid:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /><!-- media3's platform scheduler brings a kept film's download back after a restart. --><uses-permissionandroid:name="android.permission.RECEIVE_BOOT_COMPLETED" /><!-- A film's media session stands in the foreground while it plays (FilmService): the notification and the lock screen's controls. --><uses-permissionandroid:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /><applicationandroid:name="com.cottondb.cinemas.CinemasApplication"><activityandroid:name="com.cottondb.cinemas.MainActivity"android:exported="true"android:launchMode="singleTask"android:supportsPictureInPicture="true"android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|uiMode|density|fontScale"android:windowSoftInputMode="adjustResize"><intent-filter><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter><!-- The share sheet (the shell's ShareIntake; the door that takes it is the core's, share.door): films, one or many. The types are the kit's doors' (a cargo guard holds them to it). --><intent-filter><actionandroid:name="android.intent.action.SEND" /><categoryandroid:name="android.intent.category.DEFAULT" /><dataandroid:mimeType="video/mp4" /><dataandroid:mimeType="video/quicktime" /><dataandroid:mimeType="video/x-msvideo" /><dataandroid:mimeType="video/x-matroska" /></intent-filter><intent-filter><actionandroid:name="android.intent.action.SEND_MULTIPLE" /><categoryandroid:name="android.intent.category.DEFAULT" /><dataandroid:mimeType="video/mp4" /><dataandroid:mimeType="video/quicktime" /><dataandroid:mimeType="video/x-msvideo" /><dataandroid:mimeType="video/x-matroska" /></intent-filter><!-- Open with: a file manager or a browser's download handing the app one file. --><intent-filter><actionandroid:name="android.intent.action.VIEW" /><categoryandroid:name="android.intent.category.DEFAULT" /><dataandroid:scheme="content" /><dataandroid:scheme="file" /><dataandroid:mimeType="video/mp4" /><dataandroid:mimeType="video/quicktime" /><dataandroid:mimeType="video/x-msvideo" /><dataandroid:mimeType="video/x-matroska" /></intent-filter><!-- The app's own links (${urlScheme}://, the iPhone's urlScheme): the core says what each opens (link.open). --><intent-filter><actionandroid:name="android.intent.action.VIEW" /><categoryandroid:name="android.intent.category.DEFAULT" /><categoryandroid:name="android.intent.category.BROWSABLE" /><dataandroid:scheme="${urlScheme}" /></intent-filter></activity><!-- Keep on phone's transfers (the shell's Transfers, WorkManager) stand in the foreground while they run. --><serviceandroid:name="androidx.work.impl.foreground.SystemForegroundService"android:foregroundServiceType="dataSync"tools:node="merge" /><!-- A kept stream comes down in media3's download service, past the app's end (FilmDownloads). --><serviceandroid:name="com.cottondb.cinemas.player.FilmDownloadService"android:exported="false"android:foregroundServiceType="dataSync"><intent-filter><actionandroid:name="androidx.media3.exoplayer.downloadService.action.RESTART" /><categoryandroid:name="android.intent.category.DEFAULT" /></intent-filter></service><serviceandroid:name="androidx.media3.exoplayer.scheduler.PlatformScheduler$PlatformSchedulerService"android:exported="true"android:permission="android.permission.BIND_JOB_SERVICE" /><!-- A film's media session (FilmService): the notification, the lock screen, a headset's and a remote's keys. --><serviceandroid:name="com.cottondb.cinemas.player.FilmService"android:exported="true"android:foregroundServiceType="mediaPlayback"><intent-filter><actionandroid:name="androidx.media3.session.MediaSessionService" /></intent-filter></service><!-- Cast to a TV (FilmCast): Google's Default Media Receiver, media3's options. --><meta-dataandroid:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"android:value="androidx.media3.cast.DefaultCastOptionsProvider" /></application></manifest>