summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Oleg Blinnikov <olb@google.com> 2022-09-27 11:33:58 +0000
committer Oleg Blinnikov <olb@google.com> 2022-09-28 15:57:07 +0000
commit097829d3492a90e2613be00ae0c3d77d20875613 (patch)
tree17c106c392c2d66ebfb47706588d8605fe934118 /libs/androidfw/StringPool.cpp
parentb3fe3948e309cc9f6d2747daee5ede15d665b8c9 (diff)
DisplayPolicy: Check that window provided insets
This is the fix to a problem in WindowState.removeIfPossible(boolean) The core of the problem is that WindowState.removeImmediately call removes providedInsetsSources, but these are important for WindowState.providesNonDecorInsets to check if the window provided insets. This solution makes the call to WindowState.providesNonDecorInsets before calling WindowState.removeImmediately The result is that sendNewConfiguration consistently triggered during removal of navbar. Bug: 211763738 Test: atest WindowStateTests Change-Id: I2b92688437ffab02f4aee8519eb2a8e3deeb6484
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions