Fix default value of AnimationDrawable's one shot property

BUG: 18676499
Change-Id: Iaaf134b3a58a04cd99db001edc4438ee75dab878
This commit is contained in:
Alan Viverette
2014-12-09 09:48:18 -08:00
parent 2ea3650d18
commit 0b9ab9749a

View File

@@ -375,7 +375,7 @@ public class AnimationDrawable extends DrawableContainer implements Runnable, An
mOneShot = orig.mOneShot;
} else {
mDurations = new int[getCapacity()];
mOneShot = true;
mOneShot = false;
}
}