Simplifying some test utility methods
Bug: 283821111 Test: Presubmit Flag: N/A Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
This commit is contained in:
@@ -819,8 +819,11 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
.setDuration(isStashed ? duration / 2 : duration));
|
||||
}
|
||||
|
||||
private static void play(AnimatorSet as, Animator a, long startDelay, long duration,
|
||||
private static void play(AnimatorSet as, @Nullable Animator a, long startDelay, long duration,
|
||||
Interpolator interpolator) {
|
||||
if (a == null) {
|
||||
return;
|
||||
}
|
||||
a.setDuration(duration);
|
||||
a.setStartDelay(startDelay);
|
||||
a.setInterpolator(interpolator);
|
||||
|
||||
Reference in New Issue
Block a user