From fad7cf59e3ac00326fe0c028519954fb4bf6535b Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 21 Jun 2016 14:26:30 -0700 Subject: [PATCH] Update hello_services for a change to the message listener API (#4670) --- .../app/src/main/java/com/example/flutter/ExampleActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello_services/android/app/src/main/java/com/example/flutter/ExampleActivity.java b/examples/hello_services/android/app/src/main/java/com/example/flutter/ExampleActivity.java index 145a5bd1e8..9badd2804e 100644 --- a/examples/hello_services/android/app/src/main/java/com/example/flutter/ExampleActivity.java +++ b/examples/hello_services/android/app/src/main/java/com/example/flutter/ExampleActivity.java @@ -44,7 +44,7 @@ public class ExampleActivity extends Activity { flutterView.addOnMessageListener("getLocation", new FlutterView.OnMessageListener() { @Override - public String onMessage(String message) { + public String onMessage(FlutterView view, String message) { return onGetLocation(message); } });