commit | d696cd4dc90b92e7653d5bcb0b14654c588e9d7d | [log] [tgz] |
---|---|---|
author | Jim Shuma <jshuma@google.com> | Tue Dec 28 17:18:17 2010 -0800 |
committer | Jim Shuma <jshuma@google.com> | Tue Dec 28 17:26:44 2010 -0800 |
tree | e70aab1f975ed689d407014f6d1f4fef92ce3bbd | |
parent | 819c18b25f5316429f34f975178999876c75b1de [diff] |
Reset cards array on createCards(0) createCards(0) is used to clear out an array. As such, it's appropriate to entirely replace the array, rather than resizing to size 1, which leaves stale data behind. Bug: 3314456 Change-Id: Ifa1eb4a01ad9f5cc09c3cd6edce5de3f9602d9f0