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

Deprecate android v1 embedding #29248

Merged
merged 10 commits into from
Oct 28, 2021
Merged

Deprecate android v1 embedding #29248

merged 10 commits into from
Oct 28, 2021

Conversation

GaryQian
Copy link
Contributor

Work in progress

cc @camsim99 @blasten

@GaryQian GaryQian added the Work in progress (WIP) Not ready (yet) for review! label Oct 19, 2021
@flutter-dashboard
Copy link

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.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@@ -47,113 +39,6 @@ public ShimRegistrar(@NonNull String pluginId, @NonNull Map<String, Object> glob
this.globalRegistrarMap = globalRegistrarMap;
}

@Override
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These removed methods are from the deprecated PluginRegistry in PluginRegistry.java

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @bparrishMines Can you verify these plugin registry methods/interfaces are safe to remove? They are marked deprecated and use V1 embedding classes.

@GaryQian GaryQian force-pushed the deprecatev1 branch 2 times, most recently from 630c9c6 to 94ace52 Compare October 26, 2021 09:42
@GaryQian GaryQian changed the title [WIP] Deprecate android v1 embedding Deprecate android v1 embedding Oct 26, 2021
@GaryQian GaryQian removed the Work in progress (WIP) Not ready (yet) for review! label Oct 26, 2021
@GaryQian
Copy link
Contributor Author

This is now passing engine presubmit. We can now attempt to land this and experiment with rolling to framework. We should also verify all the files removed here are safe to remove.

cc @blasten @jason-simmons @zanderso

@zanderso
Copy link
Member

Are the presubmit failures related? What checks have you done locally to give confidence that rolling to the framework will be successful?

@GaryQian
Copy link
Contributor Author

The presubmit here is now passing (minor docs issue). Im currently running through as many of the pre and postsubmit checks as I can locally. Some will need to be staged for real to run though. So far, things are passing for the most part, though there are one or two failures in some example apps I'll address before continuing.

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

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

LGTM

@GaryQian
Copy link
Contributor Author

I'll likely land and then immediately revert this just to have an engine commit I can experiment with rolling to.

@GaryQian
Copy link
Contributor Author

GaryQian commented Oct 27, 2021

I have reasonable confidence in this not being too bad from local testing, will attempt an experimental landing+draft roll+revert later tonight after workday is over to avoid disruption.

@GaryQian
Copy link
Contributor Author

Mac unopt passes: https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20Unopt/5318/overview failure is a flake. Landing, will revert after a postsubmit build run completes.

@GaryQian GaryQian merged commit 451167c into flutter:master Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants