-
Notifications
You must be signed in to change notification settings - Fork 6k
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 |
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: