Trying to change Animator Duration Scale when certain app is opened

mike_od

New member
Hello all,

I'm trying to change the animator duration scale to 0.1 when a certain app is opened.

Right now I have it so that when the application is launched it changes the animator duration scale to 0.1 (float) using the Global settings option.

I already ran platform-tools>adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
and adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION
through ADB to grant ADB permissions.

When I launch the app the animations stay the same as what I have set in developer settings.

Any idea what I can switch up to make it work?

Thank you!
 

dhj49er

Well-known member
Hello all,

I'm trying to change the animator duration scale to 0.1 when a certain app is opened.

Right now I have it so that when the application is launched it changes the animator duration scale to 0.1 (float) using the Global settings option.

I already ran platform-tools>adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
and adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION
through ADB to grant ADB permissions.

When I launch the app the animations stay the same as what I have set in developer settings.

Any idea what I can switch up to make it work?

Thank you!
I think the problem is the value you have selected.
The minimum value available when changing the setting manually is 0.5
I have tried with global setting window_animation_scale and confirmed that it works using the preset values 0,0.5,1.0 etc
 
Top