Skip to content

[actions/suspendsession] Decouple fade effect from trigger

Nicolas Fella requested to merge work/nico/refactor-suspend into master

To perform the fade effect we call trigger() with special arguments, which then doesn't actually suspend.

This is a rather complicated way to do things. Instead start the fade effect outside of triggerImpl, simplifying the triggerImpl code.

We then need to manually perform the policy check that trigger() previously did for us, otherwise we apply the fading while suspend is inhibited

Merge request reports