Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Disable the timeline in release mode on Android unless systrace is enabled#32909

Merged
fluttergithubbot merged 1 commit intoflutter:mainfrom
jason-simmons:android_release_timeline
Apr 26, 2022
Merged

Disable the timeline in release mode on Android unless systrace is enabled#32909
fluttergithubbot merged 1 commit intoflutter:mainfrom
jason-simmons:android_release_timeline

Conversation

@jason-simmons
Copy link
Member

No description provided.

std::optional<std::vector<std::string>> trace_skia_allowlist;
bool trace_startup = false;
bool trace_systrace = false;
bool disable_timeline_event_handler = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider making this enable_timeline_event_handler and defauling it to true (https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-double-negatives-in-apis)

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM with style nit. Thanks for digging through this.

@jason-simmons jason-simmons force-pushed the android_release_timeline branch from 7abc170 to 0f2b42b Compare April 25, 2022 22:21
@jason-simmons jason-simmons added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Apr 26, 2022
@fluttergithubbot fluttergithubbot merged commit 9570ba3 into flutter:main Apr 26, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-android waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants