From 7a9ef3ccacdbc91621c9627d1c6d5f3136fa82b2 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 29 Oct 2015 10:47:34 -0700 Subject: [PATCH] Rationalize embedder.dart and shell.dart This patch combines embedder.dart and shell.dart into one thing. We should now handle a bunch of error cases better. * embedder.connectToApplication has moved to shell.connectToApplication, matching the rest of the mojo universe. * embedder.connecttoService has moved to shell.connnectToService (and merged with shell.requestService). * shell.requestService is now shell.connectToService, matching the rest of the mojo universe. * serviceRegistry has moved from embedder.serviceRegistry to a top-level getter. Fixes #1803 --- engine/src/flutter/sky/packages/updater/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/sky/packages/updater/lib/main.dart b/engine/src/flutter/sky/packages/updater/lib/main.dart index 9f2e2a740e..d95c5523ab 100644 --- a/engine/src/flutter/sky/packages/updater/lib/main.dart +++ b/engine/src/flutter/sky/packages/updater/lib/main.dart @@ -23,7 +23,7 @@ const String kBundleFile = 'app.flx'; UpdateServiceProxy _initUpdateService() { UpdateServiceProxy updateService = new UpdateServiceProxy.unbound(); - shell.requestService(null, updateService); + shell.connectToService(null, updateService); return updateService; }