Skip to content

Move detection of cutouts in Android engine to onApplyWindowInsets #158192

@yaakovschectman

Description

@yaakovschectman

Issue Link

#155658

Target

beta

Cherry pick PR Link

flutter/engine#56379

Changelog Description

Decouples display features (e.g. hinges) from display cutouts.

Impacted Users

Android end-users

Impact Description

When screen orientation changes, the position of display cutouts are appropriately updated.

Workaround

N/A

Risk

low

Test Coverage

yes

Validation Steps

  1. Run the sample code from the linked issue on an Android device/emulator
  2. Rotate the screen

Metadata

Metadata

Assignees

Labels

cp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions