Stop Twilight app during Screen Mirroring, restart after.
⚠ Configured for Sony devices wireless display app! Change com.sonymobile.tvout.wifidisplay to your own device's screen mirroring package.
Doesn't use "toggle" to avoid having to test for current state
Rate and review within the app in the Community section.