Skip to content

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

@gmackall

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

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

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions