Fix default value of AnimationDrawable's one shot property
BUG: 18676499 Change-Id: Iaaf134b3a58a04cd99db001edc4438ee75dab878
This commit is contained in:
@@ -375,7 +375,7 @@ public class AnimationDrawable extends DrawableContainer implements Runnable, An
|
||||
mOneShot = orig.mOneShot;
|
||||
} else {
|
||||
mDurations = new int[getCapacity()];
|
||||
mOneShot = true;
|
||||
mOneShot = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user