summaryrefslogtreecommitdiff
path: root/libs/hwui/Animator.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-09-12 17:40:20 -0700
committerChris Craik <ccraik@google.com>2014-09-12 17:40:20 -0700
commit572d9acd598517c20c7bf2feb189357e925fa879 (patch)
tree96a23beaf25893abcaf6eca089e8eed76068efd2 /libs/hwui/Animator.cpp
parentdb352c783575afee2d6bc29baf45c83d5fc421cf (diff)
Correctly initialize animator asynchronousity
bug:17483792 Change-Id: Icb6b6e6318d4c79ee94228806cb60b275424b9c9
Diffstat (limited to 'libs/hwui/Animator.cpp')
-rw-r--r--libs/hwui/Animator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/Animator.cpp b/libs/hwui/Animator.cpp
index 4f3a57377b26..8bf2107b70bb 100644
--- a/libs/hwui/Animator.cpp
+++ b/libs/hwui/Animator.cpp
@@ -41,7 +41,8 @@ BaseRenderNodeAnimator::BaseRenderNodeAnimator(float finalValue)
, mHasStartValue(false)
, mStartTime(0)
, mDuration(300)
- , mStartDelay(0) {
+ , mStartDelay(0)
+ , mMayRunAsync(true) {
}
BaseRenderNodeAnimator::~BaseRenderNodeAnimator() {