From 19be3718482947469eaba765237d6beb50be8498 Mon Sep 17 00:00:00 2001 From: Afzal Najam Date: Fri, 12 Feb 2021 00:38:04 -0500 Subject: [PATCH] Update toggle_test_mode.py --- self_scripts/toggle_test_mode.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/self_scripts/toggle_test_mode.py b/self_scripts/toggle_test_mode.py index 173672d..9cc38da 100644 --- a/self_scripts/toggle_test_mode.py +++ b/self_scripts/toggle_test_mode.py @@ -17,10 +17,8 @@ stderr=subprocess.STDOUT, shell=True).strip() mode = "0.0" - state = "false" if result == "0.0": mode = "1.0" - state = "true" put_window_animation_scale_cmd = "{0} -s {1} shell settings put global window_animation_scale {2}".format(adb_path, serial, mode) put_transition_animation_scale_cmd = "{0} -s {1} shell settings put global transition_animation_scale {2}".format(adb_path, serial, mode)