summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author HQ Liu <hql@google.com> 2022-02-14 17:11:52 -0800
committer HQ Liu <hql@google.com> 2022-02-22 11:55:20 -0800
commit62105c711321adedaee041fbe4eb0a5480e285ff (patch)
tree4bf06963607a54821c23e6a5a9f9bbb733609e50 /libs/gui/ISurfaceComposer.cpp
parent1648aa42cf7c2dd127ca886e4916a4db1af240e9 (diff)
FocusRequest token can be nullable
When a freeform app is focused but its window is not ready, the input focus on the window of the previously focused app should be removed. To do so, a FocusRequest needs to be send to the InputFlinger, and there will be no token because the new window is not ready. Change token to be nullable, so InputRequest can be pass to FocusResolver. Bug: 216852742 Test: atest AnrTests#slowOnCreateWithKeyEventTriggersAnr Change-Id: If2ed666a17576557a602a8e46494d8c66d8ce89f
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions