commit | 0a752f071fbbdfeab5dd9a230efe0f4f47b8cd94 | [log] [tgz] |
---|---|---|
author | jwilson <jwilson@squareup.com> | Mon Dec 17 13:16:33 2012 -0500 |
committer | jwilson <jwilson@squareup.com> | Mon Dec 17 13:16:33 2012 -0500 |
tree | 72e27b1ab5007d361c05b3ca69835fad6f178467 | |
parent | 48b9590264d6f7ca683385c6fac6d98e6d9735fb [diff] |
Fail if the new index is out of range. We were silently truncating, which made an obvious problem into a non-obvious one. Bug: http://code.google.com/p/android/issues/detail?id=40409 Change-Id: I15576357c72ac0e98cf85c0a1d289fd5009468f9