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

Commit 57f6c0de authored by Michael Wachenschwanz's avatar Michael Wachenschwanz Committed by android-build-merger
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 am: 6d72c068 am: d944d907 am: 31737b46 am: 2ca66d4d am: 1c8a632a
am: 7eec0a84

Change-Id: Ic2cc203ee994927ec0b7f355917a15010f6e2a7c
parents 27d47340 7eec0a84
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -740,6 +740,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);
            }