Skip to content

Commit

Permalink
Update toggle_test_mode.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AfzalivE authored Feb 12, 2021
1 parent 26d7ed9 commit 19be371
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions self_scripts/toggle_test_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19be371

Please sign in to comment.