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

Rename moduleName to componentName for consistency #24906

Merged
merged 6 commits into from
Mar 10, 2021

Conversation

GaryQian
Copy link
Contributor

Renames all instances of moduleName to componentName to avoid referencing android modules, which is play store implementation specific. Instead, we refer to it by componentName which is a flutter concept and is equivalent to the android module name in the default implementation.

Copy link
Contributor

@chingjun chingjun 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 nit.

* loadingUnitId larger than the highest valid loading unit's id will cause the Dart
* loadLibrary() to complete with a failure.
* @param moduleName The deferred component module name as defined in bundle_config.yaml. This may
* @param componentName The deferred component component name as defined in bundle_config.yaml. This may
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: "deferred component component name" should either be "name of the deferred component" or just "deferred component name"?

Same for the other files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh I fixed a few of these, but also missed a few, thanks for the catch.

@GaryQian GaryQian 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 Mar 10, 2021
@fluttergithubbot fluttergithubbot merged commit d5058fb into flutter:master Mar 10, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 10, 2021
hjfreyer pushed a commit to hjfreyer/engine that referenced this pull request Mar 22, 2021
chriscraws pushed a commit to chriscraws/engine that referenced this pull request Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes 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.

4 participants