Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskurz committed Sep 16, 2021
1 parent bd4045a commit 7f3bf98
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
import io.flutter.plugin.common.MethodChannel.Result;
import io.flutter.plugin.common.MethodCall;
import io.flutter.plugin.common.PluginRegistry.Registrar;
import io.flutter.plugin.common.PluginRegistry;

import android.app.Activity;
import android.content.ActivityNotFoundException;
Expand Down Expand Up @@ -38,7 +38,8 @@ private static LaunchReviewPlugin register(LaunchReviewPlugin plugin, BinaryMess
/**
* Plugin registration.
*/
public static void registerWith(Registrar registrar) {
@SuppressWarnings("deprecation")
public static void registerWith(PluginRegistry.Registrar registrar) {
register(new LaunchReviewPlugin(), registrar.messenger(), registrar.activity());
}

Expand Down

0 comments on commit 7f3bf98

Please sign in to comment.