Fix logic bug toggling when device mirror is enabled. (#4179)
Fix logic bug toggling when device mirror is enabled. (#4179)

Fix logic bug toggling when device mirror is enabled.
flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij