Merge "Adjust BackgroundPauseDelay for Animations" into udc-dev am: ea59f730d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22101768 Change-Id: I25a2878ae5253bd69dccd1f88c9a18088c7b42f1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user