summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2024-07-01 04:58:58 +0000
committer Chris Li <lihongyu@google.com> 2024-07-02 07:07:36 +0000
commitb5600f5f9741f9abf11897e237390843c6343024 (patch)
tree3ce10bbc435dfa313e84e2ae5138a42327fca642 /libs/androidfw/StringPool.cpp
parentab0182ca600e3643b24ee0a17f91b4327eb4f0d8 (diff)
Fix lastDispatchedState sources change
Before, in InsetsController#updateState, it directly used the same source reference to update mSourceConsumers and mState, which will then get the local override. This can cause issue when the activeControl is revoked, because it will only trigger notifyInsetsChanged if the local and last dispatched are different. Bug: 339380439 Test: WindowInsetsControllerTests#testImeForceShowingNavigationBar Flag: com.android.window.flags.insets_control_seq Change-Id: Ibadeca3b6bbfa46f1e2fd0adfaf3e63b6abe8b3f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions