summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authoryoshiki iguchi <yoshiki@google.com>2019-04-12 23:23:37 +0900
committeryoshiki iguchi <yoshiki@google.com>2019-04-15 12:25:59 +0900
commitbcd41ee79880a7c4b979ed34e87d9475c6f614f8 (patch)
tree2671eb15cbc39ecdf3ba502e9c0616a2dcc1070f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9620e07e4f1bb47d342f19b6b3cc80789c69b6aa (diff)
Not to remove the same animator twice
Transition.forceToEnd may be called during the execution of method itself. In that case, an item of the map was removed during the previous iteration and ArrayIndexOutOfBoundsException was raised. This CL updates the loop to iterate the copy of map instead of the original map instance, so we don't break the iteration and see exception anymore. Bug: 120675604 Test: Ran 'cts-tradefed run commandAndExit cts --module CtsWidgetTestCases --test android.widget.cts.ToolbarTest#testMenuOverflowSubmenu' 20 times and no failure was observed. Change-Id: Iaba2f74f29d6ed22f84d92e0d4ca106cdfca904c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions