Created
November 13, 2020 09:13
-
-
Save theapache64/ba0b9c603b66a1f6bb7b511f9ad036bb to your computer and use it in GitHub Desktop.
Turn ON/OFF device animation using ADB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function animOff(){ | |
| adb shell settings put global window_animation_scale 0 & | |
| adb shell settings put global transition_animation_scale 0 & | |
| adb shell settings put global animator_duration_scale 0 | |
| } | |
| function animOn(){ | |
| adb shell settings put global window_animation_scale 1 & | |
| adb shell settings put global transition_animation_scale 1 & | |
| adb shell settings put global animator_duration_scale 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment