OSDN Git Service

Aligning native Parcel implementation to Java.
authorMagnus Strandberg <magnus.strandberg@sonyericsson.com>
Tue, 3 May 2011 13:44:00 +0000 (15:44 +0200)
committerJean-Baptiste Queru <jbq@google.com>
Fri, 8 Jun 2012 15:29:01 +0000 (08:29 -0700)
commit1ba24574b2debd3ca012adbbd77f12bed4f2d266
tree9141495058ae27f0411797c842787f270f02946a
parentb2c1cfbe95bed419487455d1b82956f9c5b2a40c
Aligning native Parcel implementation to Java.

The Java implementation of writing the RPC response header
calculates the length of the header including the 4 bytes
specifying the header length but the native implementation
excludes the 4 bytes specifying the length from the header
length.
The native implementation has been aligned to the Java impl.

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