-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display Features support (Foldable and Cutout) #24756
Conversation
@GaryQian can you give it a look? |
@chinmaygarde could you take another look when you get a chance? |
I think this looks fine after Gary's review. There is a conflict but we should land this once this is resolved. |
# Conflicts: # shell/platform/android/test/io/flutter/embedding/engine/renderer/FlutterRendererTest.java
Resolved the conflict. |
This pull request is not suitable for automatic merging in its current state.
|
|
Triggered another ci run |
@chinmaygarde The tree is green and this can land now, the tag you added was removed automatically due to a flaky build. |
FYI @andreidiaconu Looks like this was reverted due to failures rolling this into flutter framework: flutter/flutter#89430 (comment) Revert is: #28447 |
I know and am currently working on fixing it in a separate branch of the
framework repo. Most of the ci steps fail due to gradle dependency lock
files. Might get it solved over the weekend and will update you when we can
try to land it again.
If you have any guidance please let me know. Thank you!
…On Fri, 3 Sep 2021 at 22:30 Gary Qian ***@***.***> wrote:
FYI @andreidiaconu <https://github.com/andreidiaconu> Looks like this was
reverted due to failures rolling this into flutter framework: flutter/flutter#89430
(comment)
<flutter/flutter#89430 (comment)>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24756 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKWJPQMJN4NTDL3FW7V7R3UAEO3RANCNFSM4YRRSZFA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Adds support for foldable devices and display cutouts, in the form of Display Features.
A display feature is an area of the display that is obstructed by a hardware feature. For now, this works only on Android. There are three types of display features:
Here is a preview of what this PR enables, on a dual-screen emulator:
Issues that will be closed by this PR:
Work in progress: