diff options
| author | 2022-04-05 10:37:45 +0000 | |
|---|---|---|
| committer | 2022-04-22 10:10:12 +0000 | |
| commit | c6b845dee35adff5498fe742b0a845cdf4f20b2f (patch) | |
| tree | 8b4d31eb864789baec1a6d3e5982ddf74ebaf064 /libs/androidfw/AttributeResolution.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions