NFC: Add functions to correctly serialize the objects

When an object is transferred via the parcelable interface,
the deserializer will use the function from the sub-class,
whereby the serializer will use the function from the super-class.
This can lead to run-time conversion errors.

Added convenience functions to create super-class objects.

Change-Id: I60a3c6573e85efb38abcb5f9e087b0f7141361d7
CRs-Fixed: 990213
2 files changed
tree: f3ac34cdf07a740ba54a43550c2a6569b90aac2e
  1. android/
  2. com/
  3. nxp-nfc-gsma/
  4. Android.mk
  5. com.nxp.nfc.nq.xml