Fix toggling of airplane mode in remote provisioner tests

The original version of this test was not waiting for the network
connection to go down/up. Added a simple loop to do this.

Test: RemoteProvisionerUnitTests
Bug: 230086197
Change-Id: Ibd909a981b9db28ea1bf44d133a6c1f920bd82c3
Merged-In: Ibd909a981b9db28ea1bf44d133a6c1f920bd82c3
2 files changed