[automerger] Clear the Parcel before writing an exception during a transaction am: f8ef5bcf21 am: 86c9bdd251 am: 6d72c0681f am: d944d907df am: 31737b4618 am: 2ca66d4d10 am: 1c8a632ad2
am: 7eec0a8448
Change-Id: Ic2cc203ee994927ec0b7f355917a15010f6e2a7c
This commit is contained in:
committed by
android-build-merger
commit
57f6c0deb2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user