following challenge:
I want to create a simple flow which pulls down / expands the notification drawer without lag on marshmallow.
AFAIK there is an internal API bug in Android 6 causing the slowdown of this animation. Furthermore I have read that this can be fixed by reducing the animation duration scale in developer settings from default 1x to off.
As this should only be set for notification pulldown I thought of setting this off directly before Control UI: notifications(); and afterwards back to 1x.
So flow looks like this:
set animation_duration_scale = 0.0
control ui: notifications();
set animation_duration_scale = 1.0
So far so good but animation is still slow. I think this is because if you change this value you have to switch display off and back on to take effect.
Martin, how to get around this?
If there is no possibility are there any other methods to achieve my goal?
I noticed if you double like:
control ui: notifications();
control ui: notifications();
It notification comes down fast first but then starts again slow...
Thanks for reading
