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

Commit 6d72c068 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Clear the Parcel before writing an exception during a transaction...

[automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf am: 86c9bdd2

Change-Id: I16e96c2b33f18459189bfff359ae85483667a202
parents 498d367b 86c9bdd2
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -574,6 +574,8 @@ public class Binder implements IBinder {
                    Log.w(TAG, "Caught a RuntimeException from the binder stub implementation.", e);
                    Log.w(TAG, "Caught a RuntimeException from the binder stub implementation.", e);
                }
                }
            } else {
            } else {
                // Clear the parcel before writing the exception
                reply.setDataSize(0);
                reply.setDataPosition(0);
                reply.setDataPosition(0);
                reply.writeException(e);
                reply.writeException(e);
            }
            }