Merge "Adjust BackgroundPauseDelay for Animations" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-03-16 17:43:30 +00:00
committed by Android (Google) Code Review

View File

@@ -69,7 +69,7 @@ public abstract class Animator implements Cloneable {
* backing field for backgroundPauseDelay property. This could be simply a hardcoded * backing field for backgroundPauseDelay property. This could be simply a hardcoded
* value in AnimationHandler, but it is useful to be able to change the value in tests. * value in AnimationHandler, but it is useful to be able to change the value in tests.
*/ */
private static long sBackgroundPauseDelay = 10000; private static long sBackgroundPauseDelay = 1000;
/** /**
* Sets the duration for delaying pausing animators when apps go into the background. * Sets the duration for delaying pausing animators when apps go into the background.