-
Notifications
You must be signed in to change notification settings - Fork 6k
Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents #23224
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
b70b2d1 to
efa22a4
Compare
| * uninstall. Actual uninstallation (eg, removal of assets and files) may occur at a later time. | ||
| * However, once uninstallation is requested, the dynamic feature should not be used anymore until | ||
| * {@link installDynamicFeature} is called again. | ||
| * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
describe what does it do specifically? Does it remove files on disk?
| "Dynamic feature module name was null and could not be resolved from loading unit id."); | ||
| return; | ||
| } | ||
| List<String> modules_to_uninstall = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No snake notations in Java
| dynamicFeatureManager.getDynamicFeatureInstallState(loadingUnitId, moduleName)); | ||
| break; | ||
| case "uninstallDynamicFeature": | ||
| dynamicFeatureManager.uninstallDynamicFeature(loadingUnitId, moduleName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the couldn't find unit signal feedback into the result?
c96d358 to
a564dcc
Compare
|
This pull request is not suitable for automatic merging in its current state.
|
0866938 to
bf0f880
Compare
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
…eferredComponents (flutter/engine#23224)
Description
Renames Dynamic Features to DeferredComponents (as per discussion in go/flutter-dynamic-features-tooling)
Adds uninstalling deferred components.
Resolves flutter/flutter#72757