emulator: fix DPM security logging test

bug: 34528569

The test needs actual security log events, which are
stuffed if no ro.device_owner.

The test itself sets DO mode and reboots in
order for ro.device_owner to take effect, but
it needs to be a real reboot for that property to refresh,
not shell stop and start, which is what is used for
the emulator currently.

Change-Id: I79884d9cc3e7686d5888dfb7a5b8f1b945577094
diff --git a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/BaseDevicePolicyTest.java b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/BaseDevicePolicyTest.java
index d5aec5c..0c96ac7 100644
--- a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/BaseDevicePolicyTest.java
+++ b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/BaseDevicePolicyTest.java
@@ -250,7 +250,7 @@
 
     /** Reboots the device and block until the boot complete flag is set. */
     protected void rebootAndWaitUntilReady() throws DeviceNotAvailableException {
-        getDevice().rebootUntilOnline();
+        getDevice().executeShellCommand("reboot");
         assertTrue("Device failed to boot", getDevice().waitForBootComplete(60000));
     }