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

Commit 5182337f authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Workaround: requestPriority() is one-way" into jb-mr2-dev

parents 8f1efee1 9a62391f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ public:
        data.writeInt32(pid);
        data.writeInt32(tid);
        data.writeInt32(prio);
        remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply);
        remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY);
        // fail on exception
        if (reply.readExceptionCode() != 0) return -1;
        return reply.readInt32();