Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
import io.flutter.plugin.common.MethodChannel.Result;
import io.flutter.plugin.common.PluginRegistry.Registrar;

/** FlutterWindowManagerPlugin */
public class FlutterWindowManagerPlugin implements MethodCallHandler, FlutterPlugin, ActivityAware {
Expand All @@ -28,11 +27,6 @@ private FlutterWindowManagerPlugin(Activity activity) {
}

/** Plugin registration. */
@Deprecated
public static void registerWith(Registrar registrar) {
new FlutterWindowManagerPlugin(registrar.activity()).registerWith(registrar.messenger());
}

private void registerWith(BinaryMessenger binaryMessenger) {
final MethodChannel channel = new MethodChannel(binaryMessenger, "flutter_windowmanager");
channel.setMethodCallHandler(this);
Expand Down