[flutter_tools] fix calling debugToggleBrightness on release mode (#66401)
ensure that the terminal handler checks if the service protocol is enabled before calling debug toggle brightness. Also removes globals from TerminalHander and test cases. Fixes #65477
J
Jonah Williams committed
90bc7c64dd3c02922e4bad49f6001fe32b86ae54
Parent: a6a8a14
Committed by GitHub <noreply@github.com>
on 9/25/2020, 1:56:07 AM