diff options
author | 2022-03-07 22:47:48 +0000 | |
---|---|---|
committer | 2022-03-07 22:47:48 +0000 | |
commit | 734be1c1cfcd2e314d5aceef127b0ee2054cf183 (patch) | |
tree | c08ea1b3a6149591e00d65bfdd60f2ec1eaa2a08 /libs/gui/ISurfaceComposer.cpp | |
parent | 506d7d39f326646f98f11deb930966c2a4374611 (diff) | |
parent | 79dc06a39f4a31b65873271f22aecd91b37b75af (diff) |
Merge "BLASTBufferQueue/SF: apply transactions with one-way binder" into tm-dev
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
-rw-r--r-- | libs/gui/ISurfaceComposer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/gui/ISurfaceComposer.cpp b/libs/gui/ISurfaceComposer.cpp index 5ab0abc561..5532c6e747 100644 --- a/libs/gui/ISurfaceComposer.cpp +++ b/libs/gui/ISurfaceComposer.cpp @@ -111,7 +111,13 @@ public: SAFE_PARCEL(data.writeUint64, transactionId); - return remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, data, &reply); + if (flags & ISurfaceComposer::eOneWay) { + return remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, + data, &reply, IBinder::FLAG_ONEWAY); + } else { + return remote()->transact(BnSurfaceComposer::SET_TRANSACTION_STATE, + data, &reply); + } } void bootFinished() override { |