Skip to content

Fix --enable-hcpp flag being ignored in release#185692

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
gmackall:fix_hcpp_opt_in_by_flag_in_release
Apr 29, 2026
Merged

Fix --enable-hcpp flag being ignored in release#185692
auto-submit[bot] merged 2 commits into
flutter:masterfrom
gmackall:fix_hcpp_opt_in_by_flag_in_release

Conversation

@gmackall

Copy link
Copy Markdown
Member

The flag needed to be moved outside of the

if (debuggingOptions.debuggingEnabled) {
...
}

block, as impeller is

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Apr 28, 2026
@github-actions github-actions Bot added tool Affects the "flutter" command-line tool. See also t: labels. team-android Owned by Android platform team labels Apr 28, 2026
@gmackall gmackall marked this pull request as ready for review April 28, 2026 17:36
@gmackall gmackall requested a review from a team as a code owner April 28, 2026 17:36
@gmackall gmackall requested review from mboetger and removed request for a team April 28, 2026 17:36

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies AndroidDevice to ensure the enable-hcpp-and-surface-control flag is forwarded during app startup even when debugging is disabled, such as in release mode. It includes a new test case for release mode and updates existing tests. Review feedback identifies a logic error in the new test's expectations regarding the enable-dart-profiling flag and suggests renaming the test APK to better reflect the release build context.

Comment thread packages/flutter_tools/test/general.shard/android/android_device_start_test.dart Outdated
Comment thread packages/flutter_tools/test/general.shard/android/android_device_start_test.dart Outdated
Comment thread packages/flutter_tools/test/general.shard/android/android_device_start_test.dart Outdated
…isting patterns, which makes the review questionable in my opinion. However, easy to fix with ai anyways so just fix it. But still, bad review
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 28, 2026
@gmackall gmackall added the CICD Run CI/CD label Apr 28, 2026
@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 28, 2026
@auto-submit auto-submit Bot added this pull request to the merge queue Apr 28, 2026
Merged via the queue into flutter:master with commit f486720 Apr 29, 2026
159 of 160 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 29, 2026
@gmackall gmackall added the cp: beta cherry pick this pull request to beta release candidate branch label Apr 29, 2026
@gmackall gmackall added cp: beta cherry pick this pull request to beta release candidate branch and removed cp: beta cherry pick this pull request to beta release candidate branch labels Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD cp: beta cherry pick this pull request to beta release candidate branch team-android Owned by Android platform team tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants