summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-25 00:52:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-25 00:52:54 +0000
commit48965b3eb22792baec88821485a466bf88e61e03 (patch)
tree2b399e790c52fe20da211b765fb923fff026308d
parent5cb000e34e1b77021581d7814c90225e8291501b (diff)
parentb1e1fd634278cefdc9b0119936b30e4362ed5cdd (diff)
downloadlibhwbinder-master.tar.gz
Merge "Handle BR_FROZEN_REPLY in libhwbinder" into mainHEADmastermain
-rw-r--r--IPCThreadState.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index e7e2190..7393cb6 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -822,6 +822,10 @@ status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult)
ALOGW("Sending oneway calls to frozen process.");
goto finish;
+ case BR_FROZEN_REPLY:
+ err = FAILED_TRANSACTION;
+ goto finish;
+
case BR_DEAD_REPLY:
err = DEAD_OBJECT;
goto finish;