Check for network connectivity before rebooting device, rescheduling if is none.
Under the current implementation, we will not reschedule reboot if there
is no network connectivity.
Under new implementation, we try reboot once internet connectivity is
established, scheduling for the following time if the current time is
outside the reboot window. The current reboot window is between 1-5.
Bug: 305259443
Test: atest ConfigInfrastructureServiceUnitTests[com.google.android.configinfrastructure.apex]
Change-Id: Ifaa9c80bb12472515b439c84d5f681d2a290a4ca
5 files changed