summaryrefslogtreecommitdiffstats
path: root/libs/hwui/AnimatorManager.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-09-05 15:57:47 -0700
committerJohn Reck <jreck@google.com>2014-09-05 15:58:26 -0700
commitf5945a0c8bb868f978d9d0d22043a8b44464a86e (patch)
tree225f4979dc6b8e0290307194fa1ec0c3a48ddcff /libs/hwui/AnimatorManager.cpp
parentc237555c6cb89c347acf13eba45b875946473501 (diff)
downloadframeworks_base-f5945a0c8bb868f978d9d0d22043a8b44464a86e.zip
frameworks_base-f5945a0c8bb868f978d9d0d22043a8b44464a86e.tar.gz
frameworks_base-f5945a0c8bb868f978d9d0d22043a8b44464a86e.tar.bz2
Disable RT-anim for AnimatorSet
Bug: 17317184 Unfortunately this will disable *all* RT animations in a scene, but we don't have more selective targetting currently Change-Id: I57e1c0ae43957f45229473bdcdaf34c05825fab7
Diffstat (limited to 'libs/hwui/AnimatorManager.cpp')
-rw-r--r--libs/hwui/AnimatorManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/AnimatorManager.cpp b/libs/hwui/AnimatorManager.cpp
index e06d800..c28fb88 100644
--- a/libs/hwui/AnimatorManager.cpp
+++ b/libs/hwui/AnimatorManager.cpp
@@ -90,6 +90,9 @@ public:
if (animator->isRunning()) {
mInfo.out.hasAnimations = true;
}
+ if (CC_UNLIKELY(!animator->mayRunAsync())) {
+ mInfo.out.requiresUiRedraw = true;
+ }
}
return remove;
}