OSDN Git Service

Fix bug in byte vector serialization
authorChristopher Wiley <wiley@google.com>
Sat, 31 Oct 2015 20:22:15 +0000 (13:22 -0700)
committerChristopher Wiley <wiley@google.com>
Sat, 31 Oct 2015 20:35:32 +0000 (13:35 -0700)
commitf0fc52b59be0bf39912f7b698d9bde26415a6096
tree0403cac00cec6a7843b87f84ef6399f233f118a5
parent8ebad13b340921a40a367c9f1808d0c26147e2a6
Fix bug in byte vector serialization

Byte vectors are used by the generated C++ code as the representation
of Java byte[].  This type is serialized as a packed byte array on
the java side.

Bug: 25012838
Test: integration tests for byte[] show this type crossing language
      boundaries correctly.

Change-Id: I8bb1b8ffcb77ced44f99f6b370226a32694f7df1
libs/binder/Parcel.cpp