Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version '1.0'
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -15,7 +15,7 @@ buildscript {
rootProject.allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
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