summaryrefslogtreecommitdiffstats
path: root/core/java/android/transition/Transition.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/transition/Transition.java')
-rw-r--r--core/java/android/transition/Transition.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/core/java/android/transition/Transition.java b/core/java/android/transition/Transition.java
index c942042..2705bcf 100644
--- a/core/java/android/transition/Transition.java
+++ b/core/java/android/transition/Transition.java
@@ -1762,17 +1762,7 @@ public abstract class Transition implements Cloneable {
runAnimators();
}
- /**
- * Returns whether transition values have changed between the start scene and the end scene
- * (thus determining whether animation is required). The default implementation compares the
- * property values returned from {@link #getTransitionProperties()}, or all property values if
- * {@code getTransitionProperties()} returns null. Subclasses may override this method to
- * provide logic more specific to their transition implementation.
- *
- * @param oldValues the first set of values, may be {@code null}
- * @param newValues the second set of values, may be {@code null}
- */
- protected boolean areValuesChanged(TransitionValues oldValues, TransitionValues newValues) {
+ boolean areValuesChanged(TransitionValues oldValues, TransitionValues newValues) {
boolean valuesChanged = false;
// if oldValues null, then transition didn't care to stash values,
// and won't get canceled