Skip to content

Android 16 emulators do not display platform views across many modes (API 36) #170024

@jesswrd

Description

@jesswrd

When updating test target linux_android_emu to depend on an AVD that supports Android 16, all test targets on CI pass except for android_engine_vulkan_tests. The failing tests suggest this could be an issue with virtual display TLHC, which could be no longer working on Android 16 (possibly due to an Android change). PR with Android 16 AVD here and error logs here.

One such failing test is driver test surface_texture_smiley_face_main.dart.

Steps to Reproduce:

  1. Update avd_cipd_version and android_virtual_device in the .ci.yaml to these 36 values here
  2. Create then run a API 36 emulator. I used a Pixel 9 API 36 emulator. Directions here
  3. Run flutter run lib/external_texture/surface_texture_smiley_face_main.dart from flutter/dev/integration_tests/android_engine_test

Expected Behavior
A smiley face exists behind a dialog box

Actual Behavior
A black screen is behind a dialog box

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyplatform-views: hcIssues specific to the Hybrid Composition platform views backendplatform-views: hcppIssues which affect the HCPP platform views backendplatform-views: tlhcIssues specific to the Android Texture Layer Hybrid Composition platform views backendplatform-views: vdIssues specific to the Android VirtualDisplay platform views backendteam-androidOwned by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions