+20
−22
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
ActionBarOverlayLayout used to drop WindowInsets, extract the content insets as a rect, and then dispatch a modified rect to the content view; this because there was no way to retarget the WindowInsets to the content view, and the WindowInsets were not truly immutable. That means however, that other kinds of insets than the content insets do not get dispatched, such as the display cutout. To fix this, we add APIs to inset WindowInsets, make them immutable. Note that a similar change is needed for the support lib. Bug: 79733300 Test: atest ActionBarOverlayLayoutTest Change-Id: I6a69d8462163ca5e66fdb53f83def6bc4063f8aa