commit | 15883891ea145784d8ba02e7d3c367f34969b43d | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri Feb 12 11:24:40 2021 -0800 |
committer | Tony Wickham <twickham@google.com> | Thu Feb 18 11:39:10 2021 -0800 |
tree | 40fbcb62ead10a9ba291a0fd8bb3c4e0c3b4ddf6 | |
parent | e1a8440d78ad2437c5b69eb4df02f0a91cc4ff02 [diff] |
Subtract taskbar size from DeviceProfile#availableHeight Normally availableHeight excludes system insets, but taskbar is added after availableHeight is calculated. This discrepency causes some bad calculations such as TaskView size. Test: touch nav bar when in an app with taskbar present, ensure the task doesn't jump due to incorrect calculation Fixes: 179478728 Bug: 171917176 Change-Id: I16d39d3e1d9708e2a64c81b1ac24466f9567d1b9