summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-03-01 11:53:15 -0800
committer Vishnu Nair <vishnun@google.com> 2021-03-01 20:11:30 +0000
commitb9df47065133f77291c8d13445cb259ebf4af3a2 (patch)
tree1042f72ac5b22676e0065cf3beddbaa0f6adc904 /libs/gui/BufferQueueThreadState.cpp
parenta8bad0e28a3ba92eed11b75d1e18f00b79f70efa (diff)
Sever the link to inputflinger when system_server crashes
When system_server and inputflinger goes down, we want to clear the reference to the inputflinger service. This prevent SF making any invalid binder calls to input. Instead the input commands will be queued up and sent when system_server recovers via SurfaceFlinger::bootFinished signal. Test: adb shell su root kill `pid system_server` & check we have a focused window when the server recovers Fixes: 181246754 Bug: 171130500 Change-Id: Id9091a29b651e4ceece30c3b81b9708262132787
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions