Commit 8d81c30a authored by Ben Konyi's avatar Ben Konyi

[WIP] Use public _registerService RPC

parent 7a201485
...@@ -140,7 +140,7 @@ class VMService { ...@@ -140,7 +140,7 @@ class VMService {
// If the Flutter Engine doesn't support service registration this will // If the Flutter Engine doesn't support service registration this will
// have no effect // have no effect
_peer.sendNotification('_registerService', <String, String>{ _peer.sendNotification('registerService', <String, String>{
'service': 'reloadSources', 'service': 'reloadSources',
'alias': 'Flutter Tools', 'alias': 'Flutter Tools',
}); });
...@@ -166,7 +166,7 @@ class VMService { ...@@ -166,7 +166,7 @@ class VMService {
// If the Flutter Engine doesn't support service registration this will // If the Flutter Engine doesn't support service registration this will
// have no effect // have no effect
_peer.sendNotification('_registerService', <String, String>{ _peer.sendNotification('registerService', <String, String>{
'service': 'hotRestart', 'service': 'hotRestart',
'alias': 'Flutter Tools', 'alias': 'Flutter Tools',
}); });
...@@ -204,7 +204,7 @@ class VMService { ...@@ -204,7 +204,7 @@ class VMService {
} }
}); });
_peer.sendNotification('_registerService', <String, String>{ _peer.sendNotification('registerService', <String, String>{
'service': 'compileExpression', 'service': 'compileExpression',
'alias': 'Flutter Tools', 'alias': 'Flutter Tools',
}); });
......
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