summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2016-02-22 16:51:40 -0800
committerDoris Liu <tianliu@google.com>2016-02-23 14:40:47 -0800
commit28cfd20f024a56a927014351c8bdf9d8552603e3 (patch)
treee7e6e0ff59ad1073da1727774c775934ece78a07 /core/java/android
parent272fe13331cad7197e47c19056d2f49dd26ba0b3 (diff)
Support running AVD on UI thread
By default, AVD animates on RT thread. But since in some cases there's a need for a finer control on when the frame update for the animation should happen, such as coordiating the AVD animation with other animations that run on UI thread, we are providing a way to force the AVD to run on UI thread. Bug: 27278616 Change-Id: I372ecd3dc52e3fa0bdce3a1e9c19443f9b199027
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/RenderNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/RenderNode.java b/core/java/android/view/RenderNode.java
index a4cb7035f2f9..a45c18d058cb 100644
--- a/core/java/android/view/RenderNode.java
+++ b/core/java/android/view/RenderNode.java
@@ -779,7 +779,7 @@ public class RenderNode {
return mOwningView != null && mOwningView.mAttachInfo != null;
}
- public void addAnimator(AnimatedVectorDrawable.VectorDrawableAnimator animatorSet) {
+ public void addAnimator(AnimatedVectorDrawable.VectorDrawableAnimatorRT animatorSet) {
if (mOwningView == null || mOwningView.mAttachInfo == null) {
throw new IllegalStateException("Cannot start this animator on a detached view!");
}