diff options
| -rw-r--r-- | libs/gui/IGraphicBufferProducer.cpp | 2 | ||||
| -rw-r--r-- | libs/gui/ISurfaceComposer.cpp | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libs/gui/IGraphicBufferProducer.cpp b/libs/gui/IGraphicBufferProducer.cpp index 74ab5ac1c8..60af8b5fc9 100644 --- a/libs/gui/IGraphicBufferProducer.cpp +++ b/libs/gui/IGraphicBufferProducer.cpp @@ -355,7 +355,7 @@ public: data.writeUint32(height); data.writeInt32(static_cast<int32_t>(format)); data.writeUint64(usage); - status_t result = remote()->transact(ALLOCATE_BUFFERS, data, &reply, TF_ONE_WAY); + status_t result = remote()->transact(ALLOCATE_BUFFERS, data, &reply, IBinder::FLAG_ONEWAY); if (result != NO_ERROR) { ALOGE("allocateBuffers failed to transact: %d", result); } diff --git a/libs/gui/ISurfaceComposer.cpp b/libs/gui/ISurfaceComposer.cpp index d2d27e8239..76d242ddb6 100644 --- a/libs/gui/ISurfaceComposer.cpp +++ b/libs/gui/ISurfaceComposer.cpp @@ -504,8 +504,8 @@ public: ALOGE("enableVSyncInjections failed to writeBool: %d", result); return result; } - result = remote()->transact(BnSurfaceComposer::ENABLE_VSYNC_INJECTIONS, - data, &reply, TF_ONE_WAY); + result = remote()->transact(BnSurfaceComposer::ENABLE_VSYNC_INJECTIONS, data, &reply, + IBinder::FLAG_ONEWAY); if (result != NO_ERROR) { ALOGE("enableVSyncInjections failed to transact: %d", result); return result; @@ -525,7 +525,8 @@ public: ALOGE("injectVSync failed to writeInt64: %d", result); return result; } - result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, TF_ONE_WAY); + result = remote()->transact(BnSurfaceComposer::INJECT_VSYNC, data, &reply, + IBinder::FLAG_ONEWAY); if (result != NO_ERROR) { ALOGE("injectVSync failed to transact: %d", result); return result; |