WifiCrashTest: Correctly ensure framework is up after crash

The "sys.boot_completed" flag needs to be manually reset before
mnaually restarting the framework to correctly detect when the
framework is fully up after the crash.

Bug: 80259480
Test: `act.py -c wifi_manager.config -tb dut-name -tc
WifiCrashTest:test_wifi_framework_crash_reconnec`

Change-Id: I2cd94d7e69bbbaaa89cf37a5b805e6e3cb88182c
diff --git a/acts/framework/acts/controllers/android_device.py b/acts/framework/acts/controllers/android_device.py
index 5110e74..03097f0 100755
--- a/acts/framework/acts/controllers/android_device.py
+++ b/acts/framework/acts/controllers/android_device.py
@@ -1148,6 +1148,9 @@
         self.stop_services()
         self.log.info("Restarting android runtime")
         self.adb.shell("stop")
+        # Reset the boot completed flag before we restart the framework
+        # to correctly detect when the framework has fully come up.
+        self.adb.shell("setprop sys.boot_completed 0")
         self.adb.shell("start")
         self.wait_for_boot_completion()
         self.root_adb()