Merge "Fix default value of AnimationDrawable's one shot property" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6ef76c60df
@@ -375,7 +375,7 @@ public class AnimationDrawable extends DrawableContainer implements Runnable, An
|
|||||||
mOneShot = orig.mOneShot;
|
mOneShot = orig.mOneShot;
|
||||||
} else {
|
} else {
|
||||||
mDurations = new int[getCapacity()];
|
mDurations = new int[getCapacity()];
|
||||||
mOneShot = true;
|
mOneShot = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user