commit | c6b845dee35adff5498fe742b0a845cdf4f20b2f | [log] [tgz] |
---|---|---|
author | Naomi Musgrave <nmusgrave@google.com> | Tue Apr 05 10:37:45 2022 +0000 |
committer | Mariia Sandrikova <mariiasand@google.com> | Fri Apr 22 10:10:12 2022 +0000 |
tree | 8b4d31eb864789baec1a6d3e5982ddf74ebaf064 | |
parent | f08f61e9f937132237684c4d1b2c7736a8b267ee [diff] |
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