Skip to content
Commit c6b845de authored by Naomi Musgrave's avatar Naomi Musgrave Committed by Mariia Sandrikova
Browse files

Do not apply taskbar insets for overlay case.

Taskbar is shown as an overlay when an app is in immersive mode. The
user can swipe away the taskbar, or swipe up to show it. No insets need
to be applied in this scenario; the app content can stretch to the
bottom of the screen.

Also, migrate from InsetsState#getSource to InsetsState#peekSource to avoid unnecessary creation of the source.

Fix: 202836652
Test: manual
Change-Id: If573b2fa3936b81f92a2c196d49149782cb65b0a
parent f08f61e9
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