commit | 3b6f469a658c71ec5a118a1528fe6559a0a8fd9e | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Wed Mar 25 14:55:44 2015 -0700 |
committer | Dake Gu <dake@google.com> | Wed Mar 25 15:00:31 2015 -0700 |
tree | c13a436f37a776b9111a67a85d418897fef51eae | |
parent | 5915e79eb6b377a29d66c89d58e1e498fc77595d [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