summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-06-11 21:02:55 +0800
committer Tiger Huang <tigerhuang@google.com> 2024-06-11 13:22:39 +0000
commite96b939b83f334114847e2b1c258135f159792ad (patch)
tree31cfc63507044cd8bccee066cebde39f00453e67 /libs/input/PointerController.cpp
parent7c02512c27d20c628767c880e66fc928913e95e4 (diff)
Notify DecorContentParent about content change
ActionBarOverlayLayout which implements DecorContentParent would stop dispatching the WindowInsets dispatched from its parent view, and then will dispatch it during onMeasure when there is any insets change. When the content view is changed, the ViewRootImpl will re-send the WindowInsets to the hierarchy. However, ActionBarOverlayLayout would stop dispatching it because the insets doesn't change. So that the new content view won't have a chance to apply the insets. This CL notifies ActionBarOverlayLayout when the content view is changed and reset mLast[...]Insets used to compare the insets change. Bug: 328745925 Flag: NA Test: atest MagnifierTest Change-Id: Iaf90447284f897fa2607984c36e12d596f7976c5
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions