Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2111df3 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz Committed by Android (Google) Code Review
Browse files

Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev

parents f4c2cb68 06041db0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1033,6 +1033,8 @@ public class Binder implements IBinder {
                    Log.w(TAG, "Caught a RuntimeException from the binder stub implementation.", e);
                }
            } else {
                // Clear the parcel before writing the exception
                reply.setDataSize(0);
                reply.setDataPosition(0);
                reply.writeException(e);
            }