Skip to content

[HCPP] Enable opting in to HCPP platform views with a feature flag #176805

Description

@gmackall

It is currently possible to use the EnableSurfaceControl flag to do this, though that flag is subject to change:

<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="false" />

Feature flags are easier for app developers to use. We should enable opting in via a feature flag.
See
https://github.com/flutter/flutter/blob/master/docs/contributing/Feature-flags.md#adding-a-flag
https://docs.flutter.dev/tools/pubspec#config
And an example PR
https://github.com/flutter/flutter/pull/172478/files#diff-0ded384225f19a4c34d43c7c11f7cb084ff3db947cfa82d8d52fc94c112bb2a7

Activity

  1. added
    in triagePresently being triaged by the triage team
    platform-views: hcppIssues which affect the HCPP platform views backend
    platform-androidAndroid applications specifically
    team-androidOwned by Android platform team
    and removed
    in triagePresently being triaged by the triage team
    on Oct 10, 2025
  2. self-assigned this
    on Oct 13, 2025
  3. added
    P1High-priority issues at the top of the work list
    triaged-androidTriaged by Android platform team
    on Oct 13, 2025
  4. jaredjhallen commented on Feb 11, 2026

    @jaredjhallen
  5. stuartmorgan-g commented on Feb 11, 2026

    @stuartmorgan-g
    Contributor

    @jaredjhallen Please file new feature requests as new issues, rather than as comments in tangentially related issues, so that they can be triaged and tracked.

  6. gmackall commented on Mar 11, 2026

    @gmackall
    MemberAuthor

    This will be done in a cli-flag. Unfortunately the feature flag system would not surface this information early enough for the engine to consume it, as the engine needs to know at the time the swapchain is created

  7. github-actions commented on Mar 26, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyplatform-views: hcppIssues which affect the HCPP platform views backendteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions