Skip to content

Commit

Permalink
Support runtime 5.1.0. Use MotionRuntime.
Browse files Browse the repository at this point in the history
Reviewers: O6 Material Motion Android platform reviewers, O2 Material Motion, featherless

Reviewed By: O6 Material Motion Android platform reviewers, O2 Material Motion, featherless

Tags: #material_motion

Differential Revision: http://codereview.cc/D2082
  • Loading branch information
Mark Wei committed Nov 30, 2016
1 parent 52009fd commit d3ae359
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {

dependencies {
// If you are developing any dependencies locally, also list them in local.dependencies.
compile 'com.github.material-motion:material-motion-runtime-android:5.0.0'
compile 'com.github.material-motion:material-motion-runtime-android:5.1.0'

testCompile 'com.google.truth:truth:0.28'
testCompile 'junit:junit:4.12'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.google.android.material.motion.runtime.PerformerFeatures.ContinuousPerforming.IsActiveToken;
import com.google.android.material.motion.runtime.PerformerFeatures.ContinuousPerforming.IsActiveTokenGenerator;
import com.google.android.material.motion.runtime.Plan;
import com.google.android.material.motion.runtime.Runtime;
import com.google.android.material.motion.runtime.MotionRuntime;

import org.junit.Before;
import org.junit.Test;
Expand All @@ -41,12 +41,12 @@
@Config(constants = BuildConfig.class, sdk = 21)
public class TweenPerformerTests {

private Runtime runtime;
private MotionRuntime runtime;
private View target;

@Before
public void setUp() {
runtime = new Runtime();
runtime = new MotionRuntime();
Context context = Robolectric.setupActivity(Activity.class);
target = new View(context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
import android.view.View.OnTouchListener;
import com.google.android.material.motion.family.tween.Tween;
import com.google.android.material.motion.family.tween.TweenProperty;
import com.google.android.material.motion.runtime.Runtime;
import com.google.android.material.motion.runtime.MotionRuntime;

/**
* Material Motion Tween Family sample Activity.
*/
public class MainActivity extends AppCompatActivity {

private final Runtime runtime = new Runtime();
private final MotionRuntime runtime = new MotionRuntime();

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down

0 comments on commit d3ae359

Please sign in to comment.