diff options
author | 2018-11-29 13:08:54 -0800 | |
---|---|---|
committer | 2018-11-29 13:08:54 -0800 | |
commit | 2ccbd6eed75bed7b5ae4db478ffe4e36d067cc88 (patch) | |
tree | c435c5cd36400a2a560692334e96ae3108c7b328 | |
parent | ae4c86f078ef50da674d0ab04e6e17e7ebc1f54e (diff) |
IInputFlinger: setInputWindows is one-way
Since we call from SurfaceFlinger to the system-server we
want to avoid blocking.
Bug: 120225258
Test: Existing tests pass.
Change-Id: I7ef47bff5bb583798efbcb3753158d9520de52b0
-rw-r--r-- | libs/input/IInputFlinger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/input/IInputFlinger.cpp b/libs/input/IInputFlinger.cpp index 477e54e708..139570a5fd 100644 --- a/libs/input/IInputFlinger.cpp +++ b/libs/input/IInputFlinger.cpp @@ -38,7 +38,8 @@ public: for (const auto& info : inputInfo) { info.write(data); } - remote()->transact(BnInputFlinger::SET_INPUT_WINDOWS_TRANSACTION, data, &reply); + remote()->transact(BnInputFlinger::SET_INPUT_WINDOWS_TRANSACTION, data, &reply, + IBinder::FLAG_ONEWAY); } virtual void registerInputChannel(const sp<InputChannel>& channel) { |