bettybop68 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 1 forks source link

Capabilities Parcelable may be malformed #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The creator of a Capabilities object (package 
com.orangelabs.rcs.service.api.client.capability) from a Parcel always tries to 
read extensions. However, those extensions are only written to the parcel if 
there are available.
Proposal: if (extensions!=null && extensions.size()>0){ in 
Capabilities.writeToParcel should be omitted and 
dest.writeStringList(extensions) should always be called.

Original issue reported on code.google.com by RCSe...@googlemail.com on 14 Nov 2013 at 2:10

GoogleCodeExporter commented 8 years ago
Indeed, we have reproduced the issue, and thanks for the correction.
This will be available on next release.

Original comment by benoit.j...@gmail.com on 5 Dec 2013 at 2:20