diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-27 17:18:06 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-27 17:18:06 -0700 |
commit | 96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0 (patch) | |
tree | 9deab7479cde4ccd454b4b426e38c3de943662fa /tools | |
parent | 771526c88f5cc4b56a41cb12aa06a28d377a07d5 (diff) | |
download | frameworks_base-96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0.zip frameworks_base-96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0.tar.gz frameworks_base-96ff709fe25632f6e27fa4c13c7d75dbbcfa38e0.tar.bz2 |
Work around build break in layoutlib.
Bug: 6413563
Change-Id: Ia7101fba87f3784fd8159c75e4289f642913d099
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/android/animation/AnimationThread.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/layoutlib/bridge/src/android/animation/AnimationThread.java b/tools/layoutlib/bridge/src/android/animation/AnimationThread.java index b46134a..b10ec9f 100644 --- a/tools/layoutlib/bridge/src/android/animation/AnimationThread.java +++ b/tools/layoutlib/bridge/src/android/animation/AnimationThread.java @@ -84,20 +84,22 @@ public abstract class AnimationThread extends Thread { public void run() { Bridge.prepareThread(); try { + /* FIXME: The ANIMATION_FRAME message no longer exists. Instead, the + * animation timing loop is completely based on a Choreographer objects + * that schedules animation and drawing frames. The animation handler is + * no longer even a handler; it is just a Runnable enqueued on the Choreographer. Handler_Delegate.setCallback(new IHandlerCallback() { @Override public void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { - if (msg.what == ValueAnimator.ANIMATION_START /*|| - FIXME: The ANIMATION_FRAME message no longer exists. Instead, - the animation timing loop is based on a Choreographer object - that schedules animation and drawing frames. - msg.what == ValueAnimator.ANIMATION_FRAME*/) { + if (msg.what == ValueAnimator.ANIMATION_START || + msg.what == ValueAnimator.ANIMATION_FRAME) { mQueue.add(new MessageBundle(handler, msg, uptimeMillis)); } else { // just ignore. } } }); + */ // call out to the pre-animation work, which should start an animation or more. Result result = preAnimation(); |