Unverified Commit ba097e23 authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Prepare for adding values to AppLifecycleState (#119954)

Prepare for adding values to AppLifecycleState
parent 9f98f635
......@@ -393,6 +393,11 @@ mixin SchedulerBinding on BindingBase {
case AppLifecycleState.paused:
case AppLifecycleState.detached:
_setFramesEnabledState(false);
// ignore: no_default_cases
default:
// TODO(gspencergoog): Remove this and replace with real cases once
// engine change rolls into framework.
break;
}
}
......
......@@ -3245,6 +3245,12 @@ class ClipboardStatusNotifier extends ValueNotifier<ClipboardStatus> with Widget
case AppLifecycleState.inactive:
case AppLifecycleState.paused:
// Nothing to do.
break;
// ignore: no_default_cases
default:
// TODO(gspencergoog): Remove this and replace with real cases once
// engine change rolls into framework.
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment