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

Commit 709a189b authored by Daichi Hirono's avatar Daichi Hirono Committed by android-build-merger
Browse files

Fix BridgeEpollController to handles EAGAIN correctly

am: ca0d4ffb

Change-Id: I47ebbb9f83dfa55474a93ab4d28fba5b20758270
parents 242a9295 ca0d4ffb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ class FuseBridgeEntry {
        const bool proxy_read_ready = last_proxy_events_.events & EPOLLIN;
        const bool proxy_write_ready = last_proxy_events_.events & EPOLLOUT;

        last_state_ = state_;
        last_device_events_.events = 0;
        last_proxy_events_.events = 0;