* commit '1b7512036f3ea55cb1f62777ba6e56aad781f11c': GraphicProducerWrapper may return false transact status
This commit is contained in:
commit
8b834ffd9b
@ -2687,7 +2687,7 @@ class GraphicProducerWrapper : public BBinder, public MessageHandler {
|
||||
looper->sendMessage(this, Message(MSG_API_CALL));
|
||||
barrier.wait();
|
||||
}
|
||||
return NO_ERROR;
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2697,7 +2697,7 @@ class GraphicProducerWrapper : public BBinder, public MessageHandler {
|
||||
virtual void handleMessage(const Message& message) {
|
||||
android_atomic_release_load(&memoryBarrier);
|
||||
if (message.what == MSG_API_CALL) {
|
||||
impl->asBinder()->transact(code, data[0], reply);
|
||||
result = impl->asBinder()->transact(code, data[0], reply);
|
||||
barrier.open();
|
||||
} else if (message.what == MSG_EXIT) {
|
||||
exitRequested = true;
|
||||
|
Loading…
Reference in New Issue
Block a user