commit | 2ffa4314b0ed7371cbf8f3bd2f7b21e55defee5f | [log] [tgz] |
---|---|---|
author | Jake Wharton <jakew@google.com> | Mon Apr 23 17:47:14 2018 -0400 |
committer | Jake Wharton <jakew@google.com> | Thu Apr 26 18:04:39 2018 -0400 |
tree | 8ac49e23b361a9050ed1d9cd327b53523c5ea60a | |
parent | bc74545dbb1fcdce0bbdde8bf52acff2122e3572 [diff] |
Expose Parcel read/writeBoolean. Previously the recommendation seemed to be to just call read/writeInt with a ternary, but if that isn't good enough for internal callers then it isn't good enough for external ones. Plus there's tons of StackOverflow questions and "me too"s on a 8-year-old bug. Boolean is sufficiently ubiquitous as a type to warrant a public method. Bug: 36912353 Test: none Change-Id: I7fac76d8ea8647b09b87befbcba41f3f0f2de1dc