Merge "Simplifying some test utility methods" into udc-qpr-dev

This commit is contained in:
TreeHugger Robot authored and Android (Google) Code Review committed 2023-06-05 23:10:06 +00:00
commit 859d0d87e2
18 files changed
+171 -193

No files matched your search

@@ -858,8 +858,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);