diff options
author | Ji-Hwan Lee <jihwan@google.com> | 2014-05-17 23:18:40 +0900 |
---|---|---|
committer | Ji-Hwan Lee <jihwan@google.com> | 2014-05-17 23:18:40 +0900 |
commit | 80fe183c34d862839546ed214e5f69a427cc73d8 (patch) | |
tree | 0d3101e769a955d4733da4cc03a6fe2b7e04e23f /tests/RenderThreadTest/src/com/example/renderthread | |
parent | 241cdab7597c9f6f203057125c9d629c285d574d (diff) | |
download | frameworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.zip frameworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.tar.gz frameworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.tar.bz2 |
Fix build
Change-Id: If0e46d6fa0f5b176c3b5294eab58d25935b3b4f8
Diffstat (limited to 'tests/RenderThreadTest/src/com/example/renderthread')
-rw-r--r-- | tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java index b5b12d8..c7715ad 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java +++ b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java @@ -77,7 +77,8 @@ public class MainActivity extends Activity implements OnItemClickListener { RenderNodeAnimator.TRANSLATION_Y, dy * delta); animator.setDuration(DURATION); if (child == clickedView) logTranslationY(clickedView); - animator.start(child); + animator.setTarget(child); + animator.start(); if (child == clickedView) logTranslationY(clickedView); } //mHandler.postDelayed(mLaunchActivity, (long) (DURATION * .4)); |