Re: [protobuf] Protocol Buffer + AIDL

2018-03-09 Thread 'Feng Xiao' via Protocol Buffers
On Fri, Mar 9, 2018 at 1:36 PM, Matt W wrote: > Is it possible to have the generated code implement Parcelable? > No (assuming you are using the official Java implementation). I think you can implement a simple wrapper for this purpose. > My System Service is receiving

[protobuf] Protocol Buffer + AIDL

2018-03-09 Thread Matt W
Is it possible to have the generated code implement Parcelable? My System Service is receiving Events that were serialized with Google Protocol Buffers, and I would like to deserialize inside the service rather than the manager. Any non primitive sent across AIDL needs to implement Parcelable.