diff options
author | Alan Viverette <alanv@google.com> | 2014-12-09 09:48:18 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-12-09 09:48:18 -0800 |
commit | 0b9ab9749aec297aa03c3fde6d5552c9f212ddbf (patch) | |
tree | 4cafa5ea349683a3851d22f30e458e879c66d1f3 /graphics | |
parent | 2ea3650d18ab0ce4dba2cee101d639400b411452 (diff) | |
download | frameworks_base-0b9ab9749aec297aa03c3fde6d5552c9f212ddbf.zip frameworks_base-0b9ab9749aec297aa03c3fde6d5552c9f212ddbf.tar.gz frameworks_base-0b9ab9749aec297aa03c3fde6d5552c9f212ddbf.tar.bz2 |
Fix default value of AnimationDrawable's one shot property
BUG: 18676499
Change-Id: Iaaf134b3a58a04cd99db001edc4438ee75dab878
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/AnimationDrawable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/drawable/AnimationDrawable.java b/graphics/java/android/graphics/drawable/AnimationDrawable.java index 9eb0251..74ff1b0 100644 --- a/graphics/java/android/graphics/drawable/AnimationDrawable.java +++ b/graphics/java/android/graphics/drawable/AnimationDrawable.java @@ -375,7 +375,7 @@ public class AnimationDrawable extends DrawableContainer implements Runnable, An mOneShot = orig.mOneShot; } else { mDurations = new int[getCapacity()]; - mOneShot = true; + mOneShot = false; } } |