appium / appium-espresso-driver

Espresso integration for Appium
Apache License 2.0
193 stars 75 forks source link

chore: set animation scale via settings for api level 26+ #1007

Closed KazuCocoa closed 5 months ago

KazuCocoa commented 5 months ago

https://github.com/appium/appium-adb/pull/745 method instead of --no-window-animation for espresso since the flag in espresso instrumentation process did not bring the animation scale back after the process kill.

0/1 for animation scale is to make the behavior as same as this.settingsApp.setAnimationState

KazuCocoa commented 5 months ago

hm, this option didn't bring back to animation on after the process end.

Below worked on real devices, thus we may need to do this.

$ 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
mykola-mokhnach commented 5 months ago

actually it would be just a type chore change

github-actions[bot] commented 5 months ago

:tada: This PR is included in version 2.40.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: