mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Update hello_services for a change to the message listener API (#4670)
This commit is contained in:
parent
97c1f0b7b2
commit
fad7cf59e3
@ -44,7 +44,7 @@ public class ExampleActivity extends Activity {
|
|||||||
flutterView.addOnMessageListener("getLocation",
|
flutterView.addOnMessageListener("getLocation",
|
||||||
new FlutterView.OnMessageListener() {
|
new FlutterView.OnMessageListener() {
|
||||||
@Override
|
@Override
|
||||||
public String onMessage(String message) {
|
public String onMessage(FlutterView view, String message) {
|
||||||
return onGetLocation(message);
|
return onGetLocation(message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user