summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-07-17 22:14:21 +0800
committer Tiger <tigerhuang@google.com> 2023-07-19 15:41:46 +0800
commit632076d7af41e99faa1c75d67d8d0fbe26b144a5 (patch)
tree1941895857c91394479a2d5aa71c1b3992536b3c /libs/input/PointerController.cpp
parent7b41e4d73636b9f43811dfc564ef8c85c4e6a5eb (diff)
Update mInsetsHint regardless of the nullity of mControl
Befroe this CL, we only update InsetsSourceProvider#mInsetsHint while there is a control. However, the very first control target can get the control before the mInsetsHint gets updated in onPostLayout. This CL updates mInsetsHint once the source frame is updated, so that we pass the correct insets hint to the constructor of InsetsSourceControl. Fix: 289892083 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: Ic876284e4b7954d961786ab0ae65794e7318cb98
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions