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
b8a60f5b
Commit
b8a60f5b
authored
Aug 19, 2016
by
Devon Carew
Committed by
GitHub
Aug 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
suppress exceptions from loader progress display messages (#5510)
parent
243b4c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
vmservice.dart
packages/flutter_tools/lib/src/vmservice.dart
+12
-9
No files found.
packages/flutter_tools/lib/src/vmservice.dart
View file @
b8a60f5b
...
...
@@ -770,22 +770,25 @@ class Isolate extends ServiceObjectOwner {
// Loader page extension methods.
Future
<
Map
<
String
,
dynamic
>>
flutterLoaderShowMessage
(
String
message
)
{
return
invokeRpcRaw
(
'ext.flutter.loaderShowMessage'
,
<
String
,
dynamic
>
{
void
flutterLoaderShowMessage
(
String
message
)
{
// Invoke loaderShowMessage; ignore any returned errors.
invokeRpcRaw
(
'ext.flutter.loaderShowMessage'
,
<
String
,
dynamic
>
{
'value'
:
message
});
})
.
catchError
((
dynamic
error
)
=>
null
)
;
}
Future
<
Map
<
String
,
dynamic
>>
flutterLoaderSetProgress
(
double
progress
)
{
return
invokeRpcRaw
(
'ext.flutter.loaderSetProgress'
,
<
String
,
dynamic
>{
void
flutterLoaderSetProgress
(
double
progress
)
{
// Invoke loaderSetProgress; ignore any returned errors.
invokeRpcRaw
(
'ext.flutter.loaderSetProgress'
,
<
String
,
dynamic
>{
'loaderSetProgress'
:
progress
});
})
.
catchError
((
dynamic
error
)
=>
null
)
;
}
Future
<
Map
<
String
,
dynamic
>>
flutterLoaderSetProgressMax
(
double
max
)
{
return
invokeRpcRaw
(
'ext.flutter.loaderSetProgressMax'
,
<
String
,
dynamic
>{
void
flutterLoaderSetProgressMax
(
double
max
)
{
// Invoke loaderSetProgressMax; ignore any returned errors.
invokeRpcRaw
(
'ext.flutter.loaderSetProgressMax'
,
<
String
,
dynamic
>{
'loaderSetProgressMax'
:
max
});
})
.
catchError
((
dynamic
error
)
=>
null
)
;
}
/// Causes the application to pick up any changed code.
...
...
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