Skip to content

Instantly share code, notes, and snippets.

@ericksli
Created July 26, 2019 03:53
Show Gist options
  • Save ericksli/afeee91736b301895426fae90fe19f6f to your computer and use it in GitHub Desktop.
Save ericksli/afeee91736b301895426fae90fe19f6f to your computer and use it in GitHub Desktop.
Android ADB enable/disable animation

Disable animation

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

Enable animation

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