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

Revert "Display Features support (Foldable and Cutout)" #28447

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

zanderso
Copy link
Member

@zanderso zanderso commented Sep 3, 2021

Reverts #24756

Failures when rolling into flutter/flutter: flutter/flutter#89430

@flutter-dashboard flutter-dashboard bot added platform-android platform-fuchsia platform-web Code specifically for the web engine labels Sep 3, 2021
@google-cla google-cla bot added the cla: yes label Sep 3, 2021
@zanderso zanderso requested review from xster and GaryQian September 3, 2021 15:55
@zanderso
Copy link
Member Author

zanderso commented Sep 3, 2021

/cc @andreidiaconu

@zanderso
Copy link
Member Author

zanderso commented Sep 3, 2021

Landing revert eagerly to unblock rolls.

@zanderso zanderso merged commit 01792f7 into master Sep 3, 2021
@zanderso zanderso deleted the revert-24756-foldable_support branch September 3, 2021 16:01
@andreidiaconu
Copy link
Contributor

@zanderso I saw the failures and am currently working on separate framework branch to get those fixed. This adds new gradle dependencies and they need to be reflected in the dependency lockfiles. Other things might need to change but for now the gradle dependecy lock files are my focus.

Once I have a working branch, what happens next?

@zanderso
Copy link
Member Author

zanderso commented Sep 3, 2021

Maybe @blasten can advise here, but my non-expert suggestion would be to try to land the compensating changes in the framework first before re-landing the breaking changes in the engine.

@blasten
Copy link

blasten commented Sep 3, 2021

@andreidiaconu sorry for the question again, would it be possible to repackage this PR as a plugin? For example, a plugin could extend FlutterView, so the app chooses the FlutterView implementation from the Activity. Could something like this help?

@blasten
Copy link

blasten commented Sep 3, 2021

Also, is there a doc or thread about any previous discussion that concluded with the current approach?

@andreidiaconu
Copy link
Contributor

There is an initial internal doc which we used to establish how to proceed. The main reason why a plugin would not work is that dialogs, popup menus and other parts of the framework also benefit from knowing where display features are located.

@blasten
Copy link

blasten commented Sep 7, 2021

Thanks. If you have the framework PR ready, try to patch the engine hash to test the framework PR. Then, get LGTM for the framework PR.

Once all of the checks are passing in the framework, submit the reland in the engine and cc'me. I'll make sure the engine roll patches your framework changes as well.

@andreidiaconu
Copy link
Contributor

This is the Framework PR flutter/flutter#89511 but it still has 2 issues I need advice with (the camera issue I can solve on the camera repo, but the other issue related to AGP version 3.3.0 is harder for me to figure out)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants