Take a moment for the LockTaskUtilityActivityIfWhitelisted to ready.

When do testLockTaskIsActiveAndCantBeInterrupted, com.android.cts.deviceowner be killed by AMS reason "start instr", need wait LockTaskUtilityActivityIfWhitelisted ready.

Test: run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testLockTaskAfterReboot_deviceOwnerUser

Bug: 121453652
Merged-in: Idaa518464ee7002e688e0a882ece30431b7aad08

Signed-off-by: duanyangqi <duanyangqi@xiaomi.com>
1 file changed