commit | f3844451301cb14ca885e125cb27f108a834c386 | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Wed Mar 16 12:44:06 2016 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Wed Mar 16 14:02:04 2016 -0700 |
tree | 690c75580eeea6f5b4c1c2830fd478a4483ca6c6 | |
parent | 25ea2c39a03d7ca6c2d2a6185e75bb03c9d4623a [diff] |
Handle hint in unspecified specs On M+, the parent can pass a hint size with unspecified specs. Previously, our LayoutManagers ignored this because it might be garbage on older platforms. With this CL, RV ensures that it is 0 on older platforms and the value parent provided in newer ones. This way, RV can know when to stop based on the hint but still ask for what it needs (so that it is not treated as AT_MOST). Bug: 27608240 Change-Id: I2d452731c7251b0ee1f35b9a0694c78381cdf39f