summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-08-01 19:15:11 +0800
committer Tiger <tigerhuang@google.com> 2023-08-02 16:09:57 +0800
commitaf1c7cfd1e290f2181a46435bcd7d9735c6a89fd (patch)
tree377de46dfb9c60f16af9fc880e985a4598a0f483 /wifi/java/src
parent169e37cc92c2e1641d47b6e17b378a5cd5cbc57d (diff)
Refine the performance of updating the insets hint
Previously, the insets hint was checked and updated every time in InsetsSourceProvider#onPostLayout via setServerVisible. Most of them were just checking but not updating. That still caused the regression of performance. This CL flags the insets hint as stale when the source frame or the window container bounds is changed, and only updates the insets hints when someone calls getInsetsHint(). Fix: 292177371 Test: atest InsetsSourceProviderTest Test: Switch to 3-button navigation bar and reboot the device. Make sure the back button is not shown on the lockscreen. Change-Id: I59e21581d7ca136d4e4eb8c1a442fc74a92914b7
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions