Commit 00e0075f authored by Adam Barth's avatar Adam Barth

PathProvider.getTemporaryDirectory() never resolves (#3705)

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

Fixes #3683
parent d8522191
...@@ -11,7 +11,7 @@ import 'shell.dart'; ...@@ -11,7 +11,7 @@ import 'shell.dart';
mojom.PathProviderProxy _initPathProviderProxy() { mojom.PathProviderProxy _initPathProviderProxy() {
mojom.PathProviderProxy proxy = new mojom.PathProviderProxy.unbound(); mojom.PathProviderProxy proxy = new mojom.PathProviderProxy.unbound();
shell.connectToViewAssociatedService(proxy); shell.connectToService('mojo:flutter_platform', proxy);
return proxy; return proxy;
} }
......
...@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_chrome.mojom.dart' show Dev ...@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_chrome.mojom.dart' show Dev
mojom.SystemChromeProxy _initSystemChromeProxy() { mojom.SystemChromeProxy _initSystemChromeProxy() {
mojom.SystemChromeProxy proxy = new mojom.SystemChromeProxy.unbound(); mojom.SystemChromeProxy proxy = new mojom.SystemChromeProxy.unbound();
shell.connectToViewAssociatedService(proxy); shell.connectToService('mojo:flutter_platform', proxy);
return proxy; return proxy;
} }
......
...@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_sound.mojom.dart' show Syst ...@@ -13,7 +13,7 @@ export 'package:sky_services/flutter/platform/system_sound.mojom.dart' show Syst
mojom.SystemSoundProxy _initSystemSoundProxy() { mojom.SystemSoundProxy _initSystemSoundProxy() {
mojom.SystemSoundProxy proxy = new mojom.SystemSoundProxy.unbound(); mojom.SystemSoundProxy proxy = new mojom.SystemSoundProxy.unbound();
shell.connectToViewAssociatedService(proxy); shell.connectToService('mojo:flutter_platform', proxy);
return proxy; return proxy;
} }
......
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