Skip to content
Commit 15637fdd authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

A brave new world for window insets (10/n)

Rework how dispatching works for apps targeting Q+

(flagged off at the moment behind VRI.USE_NEW_INSETS)

We properly dispatch windows in the hierarchy by fixing the issue
that insets modified by onApplyWindowInsets affected all other
views later in prefix order, including siblings and siblings of
parents.

Furthermore, we get rid of stopping dispatch if they are consumed,
as it gets a lot more complicated with the granular information we
add what consumed actually means.

Test: ViewGroupTest, ViewTest
Bug: 118118435

Change-Id: I9dfb69ebb93b334bb34d17889282293bec94e1af
parent bcf99fff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment