commit | 0a0ab128a65900a23f1018a14f5cbecec6443dd3 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Fri Aug 12 18:08:08 2011 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Fri Aug 12 18:08:08 2011 -0700 |
tree | c7dddb0df25d105be2579c81d2838317a2d8496a | |
parent | c74a02873a0981e3db2417af70ee7be3168ed1ba [diff] |
Use PARCELABLE_WIRTE_RETURN_VALUE flag in InputChannel. Bug: 5161290 Replace mDisposeAfterWriteToParcel with code that takes advantage of the standard Parcel API support for releasing resources after writing a Binder reply. This change makes it less likely that InputChannels will leak accidentally when passed across a Binder. Change-Id: Id37706e7b88d074e8e4ac687c88f0db8963200f2