Repository navigation
5.1.0
New deprecations
Runtime is renamed to MotionRuntime.
New features
New tests. 100% coverage!
Source changes
- Rename Runtime to MotionRuntime. (Mark Wei)
- Tests for ChoreographerCompat. (Mark Wei)
- Move StepChoreographer into testing package. (Mark Wei)
- Tests for PlanFeatures and PerformerFeatures. (Mark Wei)
- Tests for Plan's CloneNotSupportedException. (Mark Wei)
API changes
Auto-generated by running:
apidiff origin/stable release-candidate android library
ChoreographerCompat
new abstract class: ChoreographerCompat
new constructor: ChoreographerCompat()
new static method: ChoreographerCompat getInstance()
new abstract method: void postFrameCallback(FrameCallback)
new abstract method: void postFrameCallbackDelayed(FrameCallback, long)
new abstract method: void removeFrameCallback(FrameCallback)
MotionRuntime
new class: MotionRuntime
new constructor: MotionRuntime()
new static final field: int ACTIVE
new static final field: int IDLE
new method: void addNamedPlan(NamedPlan, String, Object)
new method: void addPlan(Plan, Object)
new method: void addStateListener(StateListener)
new method: void addTracer(Tracing)
new method: int getState()
new method: void removeNamedPlan(String, Object)
new method: void removeStateListener(StateListener)
new method: void removeTracer(Tracing)
State
new annotation: @State
StateListener
new interface: StateListener
new method: void onStateChange(MotionRuntime, int)
Runtime
removed static final field: int ACTIVE
removed static final field: int IDLE
removed method: void addNamedPlan(NamedPlan, String, Object)
removed method: void addPlan(Plan, Object)
removed method: void addStateListener(StateListener)
removed method: void addTracer(Tracing)
removed method: int getState()
removed method: void removeNamedPlan(String, Object)
removed method: void removeStateListener(StateListener)
removed method: void removeTracer(Tracing)
modified final class: Runtime
| From: | public final class Runtime |
| To: | public class Runtime extends MotionRuntime |
State
removed annotation: @State
StateListener
removed interface: StateListener
removed method: void onStateChange(Runtime, int)
StepChoreographer
new class: StepChoreographer
new constructor: StepChoreographer()
new static final field: long FRAME_MS
new method: void advance(long)
new method: void postFrameCallback(FrameCallback)
new method: void postFrameCallbackDelayed(FrameCallback, long)
new method: void removeFrameCallback(FrameCallback)
Non-source changes
- Automatic changelog preparation for release. (Mark Wei)
- Run mdm new repo . (Mark Wei)
- Update README.md (Mark Wei)
- Add callsign. (Mark Wei)