b6e9d617ea32dc83840a030982a97a20f7889010 |
|
09-Feb-2017 |
Tobias Thierer <tobiast@google.com> |
Apply MapCollections behavior changes to appcompat copy Array{Map,Set} iterators no longer allow iterating past the end. For apps that care about consistent behavior, this CL makes the new behavior available on old versions of Android through the appcompat library. Added tests for the behavior part that differs from earlier Android versions. Changes are ported from http://ag/1886799 and http://ag/1885941 Bug: 19853326 Test: ./gradlew support-compat:connectedCheck --info Change-Id: I9f5ff9ad0a1f5974c1696da06b8962f7fcac8134
/frameworks/support/compat/tests/java/android/support/v4/util/ArraySetCompatTest.java
|