Merge "Reduce boot animation completion check interval" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-18 02:16:03 +00:00
committed by Android (Google) Code Review

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";