wait 10 s for airplan mode
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ class Commandor:
|
|||||||
subprocess.call("adb shell settings put global airplane_mode_on 0", shell=True)
|
subprocess.call("adb shell settings put global airplane_mode_on 0", shell=True)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
subprocess.call("adb shell am broadcast -a android.intent.action.AIRPLANE_MODE", shell=True)
|
subprocess.call("adb shell am broadcast -a android.intent.action.AIRPLANE_MODE", shell=True)
|
||||||
time.sleep(6)
|
time.sleep(10)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Reference in New Issue
Block a user