Skip to content

[Android] Refactor WindowInsetListener to per-CoordinatorLayout registry with optimized lookups #32301

@PureWeen

Description

@PureWeen

Description

Right now we use one GlobalInsetListener for the entire application but the inset listener is really only relevant per coordinator layout, and we will have cases where there are multiple active CoordinatorLayouts so it makes the most sense to make the GlobalInsetListener just responsible for the "windowed" view that it controls

for example, with Shell there's a different CoordinatorLayout for different tabs

Metadata

Metadata

Assignees

No one assigned

    Labels

    p/0Current heighest priority issues that we are targeting for a release.platform/androids/triagedIssue has been reviewed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions