PathProvider.getTemporaryDirectory() never resolves (#3705)

We were looking for this service in the wrong service provider.

Fixes #3683
This commit is contained in:
Adam Barth
2016-05-03 14:35:00 -07:00
parent d8522191ba
commit 00e0075f8b
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import 'shell.dart';
mojom.PathProviderProxy _initPathProviderProxy() {
mojom.PathProviderProxy proxy = new mojom.PathProviderProxy.unbound();
shell.connectToViewAssociatedService(proxy);
shell.connectToService('mojo:flutter_platform', proxy);
return proxy;
}

View File

@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_chrome.mojom.dart' show Dev
mojom.SystemChromeProxy _initSystemChromeProxy() {
mojom.SystemChromeProxy proxy = new mojom.SystemChromeProxy.unbound();
shell.connectToViewAssociatedService(proxy);
shell.connectToService('mojo:flutter_platform', proxy);
return proxy;
}

View File

@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_sound.mojom.dart' show Syst
mojom.SystemSoundProxy _initSystemSoundProxy() {
mojom.SystemSoundProxy proxy = new mojom.SystemSoundProxy.unbound();
shell.connectToViewAssociatedService(proxy);
shell.connectToService('mojo:flutter_platform', proxy);
return proxy;
}