Merge "Reduce boot animation completion check interval" into rvc-dev am: 761e5cd6e1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871451

Change-Id: Ib0ea8d1d6a20c232897a36b5e9b8eece9b2ca11d
This commit is contained in:
TreeHugger Robot
2020-06-18 02:28:43 +00:00
committed by Automerger Merge Worker

View File

@@ -369,7 +369,8 @@ public class WindowManagerService extends IWindowManager.Stub
static final long DEFAULT_INPUT_DISPATCHING_TIMEOUT_NANOS = 5000 * 1000000L; static final long DEFAULT_INPUT_DISPATCHING_TIMEOUT_NANOS = 5000 * 1000000L;
// Poll interval in milliseconds for watching boot animation finished. // Poll interval in milliseconds for watching boot animation finished.
private static final int BOOT_ANIMATION_POLL_INTERVAL = 200; // TODO(b/159045990) Migrate to SystemService.waitForState with dedicated thread.
private static final int BOOT_ANIMATION_POLL_INTERVAL = 50;
// The name of the boot animation service in init.rc. // The name of the boot animation service in init.rc.
private static final String BOOT_ANIMATION_SERVICE = "bootanim"; private static final String BOOT_ANIMATION_SERVICE = "bootanim";