Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ba097e23
Unverified
Commit
ba097e23
authored
Apr 08, 2023
by
Greg Spencer
Committed by
GitHub
Apr 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for adding values to AppLifecycleState (#119954)
Prepare for adding values to AppLifecycleState
parent
9f98f635
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+5
-0
text_selection.dart
packages/flutter/lib/src/widgets/text_selection.dart
+6
-0
No files found.
packages/flutter/lib/src/scheduler/binding.dart
View file @
ba097e23
...
...
@@ -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
;
}
}
...
...
packages/flutter/lib/src/widgets/text_selection.dart
View file @
ba097e23
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment