NetworkLoggingTest: wait for BOOT_COMPLETED broadcast idle
When reboot the device, wait until the BOOT_COMPLETED broadcast has been processed. This is necessary because the devices with poor performance will take a little time to process the broadcasts, and this may affect the broadcast registered in AndroidManifest.xml in this test.
Test: run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLogging_rebootResetsId
Bug: 133128040
Change-Id: I07cba1d66aea16e09c3ed9587dc4cb462fa0a6c8
Signed-off-by: qianyou <qianyou@xiaomi.com>
1 file changed