Switch on animations temporarily for Animation Overlay action?

Andydroid

Member
I like the new Animation Overlay action but, for it to work, animations need to be enabled on the phone. Is there a way to switch animations on temporarily to run the action, then turn them off again after?
 

Endercraft

Moderator (& bug finder :D)
If you mean the setting in developer options you can use this system setting key (global): animator_duration_scale
Value 1.0 for normal and 0.0 for disabled.
 

Jacob L

Moderator (Lawsonator)
Yet the McDonald's app shows animations without developer options animator scales
 

Andydroid

Member
If you mean the setting in developer options you can use this system setting key (global): animator_duration_scale
Value 1.0 for normal and 0.0 for disabled.

Thanks, I tried it (in an Action Block) as below, but it didn't work- I believe changes to System Settings may not take effect immediately?
Screenshot_20240303_225048.jpg

Screenshot_20240303_225652.jpg
 

Endercraft

Moderator (& bug finder :D)
For me the change is instant.
I notice in your screenshots that the key used is [setting_global=animator_duration_scale]. Doing this will use the value of animator_duration_scale as the key. Only use animator_duration_scale in the key field.
 
Top