Merge "Fixing concurrent modification exception. (Bug 6807320)"

This commit is contained in:
Winson Chung
2012-07-12 13:42:16 -07:00
committed by Android (Google) Code Review
@@ -48,7 +48,8 @@ public class LauncherAnimUtils {
}
public static void onDestroyActivity() {
for (Animator a : sAnimators) {
HashSet<Animator> animators = new HashSet<Animator>(sAnimators);
for (Animator a : animators) {
if (a.isRunning()) {
a.cancel();
}