Repository: flutter
Issue: Flutter Platform View is 4K instead of 8K when playing 8K videos
Labels: c: new feature,platform-android,a: platform-views,has reproducible steps,P2,team-android,triaged-android,found in release: 3.19,found in release: 3.20

### Steps to reproduce

1. Create a Platform View
2. Attach an 8K display and set the display resolution to 8K 60.
3. Android wm size is 4K but the resolution is 8K
4. Use ExoPlayer to play an 8K video
5. Content displays as 4K unless the following code is added:
```
ViewGroup vg = (ViewGroup) activity.getWindow().getDecorView().getRootView();
vg.addView(surfaceView);
```


### Expected results

The content should be 8K and I should be able to render things on top of the PlatformView.

### Actual results

Content is looks like 4K resolution.

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[!] Flutter (Channel stable, 3.16.0, on Pop!_OS 22.04 LTS 6.6.10-76060610-generic, locale en_US.UTF-8)
    • Flutter version 3.16.0 on channel stable at /home/username/apps/flutter
    ! The flutter binary is not on your path. Consider adding /home/username/apps/flutter/bin to your path.
    ! Warning: `dart` on your path resolves to /usr/lib/dart/bin/dart, which is not inside your current Flutter SDK checkout at /home/username/apps/flutter. Consider adding /home/username/apps/flutter/bin to
      the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (3 months ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/username/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /home/username/apps/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2022.3)
    • Android Studio at /home/username/apps/android-studio
    • Flutter plugin version 75.1.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.86.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.82.0

[✓] Connected device (3 available)
    • I RK3588 (mobile) • 192.168.126.223:5555 • android-arm64  • Android 12 (API 32)
    • Linux (desktop)   • linux                • linux-x64      • Pop!_OS 22.04 LTS 6.6.10-76060610-generic
    • Chrome (web)      • chrome               • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.


```

</details>