Handle BR_FROZEN_REPLY in libhwbinder
This means the app is frozen and will not get the transaction.
This is handled in libbinder already in the same way.
Test: m
Bug: 313369251
Change-Id: I3e6511a971398d8d9feea214f8fa16c66c44a769
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index e0c1ade..e1dfb53 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -817,6 +817,10 @@
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;