summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author shawnlin <shawnlin@google.com> 2022-04-26 19:46:57 +0800
committer shawnlin <shawnlin@google.com> 2022-04-28 17:25:49 +0800
commit6db481e0795c6b2ac70b0115c009a164c44ad7d7 (patch)
treef809f0df554d80324e3a656f502839cf11b73c90 /libs/androidfw/misc.cpp
parent5c554e289b3e87a35e89afad0334e6edd5661d3f (diff)
Fixed cts failure of WindowInsetsControllerTests
If the device is a tablet, the navigation bar will be taskbar, and it will draw fake rounded corners above itself when it's shown and unstashed. When apps request to hide taskbar from such state, it will cause an extra window insets change from server side. Move the calculation of rounded corner inset to client side so that we can make the window insets change come only once. Bug: 229825307 Test: atest WindowInsetsControllerTests ActivityRecordTests Change-Id: I081142facbe0fe676b89c8883fa690ba5ae13d79
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions