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
1 file changed
tree: e70aab1f975ed689d407014f6d1f4fef92ce3bbd
  1. carousel/
  2. common/
  3. CleanSpec.mk