<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:dist="http://schemas.android.com/apk/distribution"
    featureSplit="xr"
    package="org.chromium.chrome">

    <dist:module
      dist:title="@string/xr_module_title">
      <dist:delivery>
        <dist:on-demand />
        <dist:install-time>
          <dist:conditions>
          <!--TODO(crbug.com/474430698): Replace with the correct device feature when fixed. -->
           <dist:device-feature
               dist:name="android.hardware.xr.input.hand_tracking"/>
          </dist:conditions>
        </dist:install-time>
      </dist:delivery>
      <dist:fusing dist:include="false"/>
    </dist:module>

    <application>
        <activity android:name="org.chromium.chrome.browser.media.immersive_playback.ImmersiveVideoPlaybackActivity"
                  android:exported="false"
                  android:theme="@style/Theme.Chromium.Activity"
                  android:excludeFromRecents="true"
                  android:configChanges=
                       "screenSize|smallestScreenSize|screenLayout|orientation">
          <property
            android:name="android.window.PROPERTY_XR_ACTIVITY_START_MODE"
            android:value="XR_ACTIVITY_START_MODE_FULL_SPACE_MANAGED" />
        </activity>
    </application>

</manifest>
