Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fec71956 authored by Rob Carr's avatar Rob Carr Committed by android-build-team Robot
Browse files

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
(cherry picked from commit 2ccbd6ee)
parent c757fb94
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {