commit | 1a5a2c58890e69b0554a82f22e3c0d1ffb238366 | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Wed Mar 25 14:55:44 2015 -0700 |
committer | Qiwen Zhao <zhao@google.com> | Wed Mar 25 21:48:47 2015 -0700 |
tree | a6ce732abb00c3deab100d50cc023223f874690d | |
parent | 492506cede17ecee39ce7fa35ee7a347ff31c5ba [diff] |
Fix crash when calculated secondary size is 0 If for some reasons, parent of GridView asks to measure with 0 secondary size, calculated mFixedRowSizeSecondary is zero and the array for maintaining the secondary size of each row is also null. Then processRowSizeSecondary() will crash. Bug 19930906 Change-Id: Ifa45ee94cda133830a0e78b563df5edeeaff9c3f