Skip to content

Commit

Permalink
Remove unused Imports and private method (flutter#15872)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer authored and NoamDev committed Feb 27, 2020
1 parent 39a3207 commit 1b02497
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import io.flutter.embedding.engine.dart.DartExecutor;
import io.flutter.embedding.engine.renderer.FlutterUiDisplayListener;
import io.flutter.plugin.platform.PlatformPlugin;
import io.flutter.view.FlutterMain;

import static android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -742,13 +742,6 @@ public void onLowMemory() {
delegate.onLowMemory();
}

@NonNull
private Context getContextCompat() {
return Build.VERSION.SDK_INT >= 23
? getContext()
: getActivity();
}

/**
* {@link FlutterActivityAndFragmentDelegate.Host} method that is used by
* {@link FlutterActivityAndFragmentDelegate} to obtain Flutter shell arguments when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import io.flutter.embedding.engine.plugins.service.ServiceAware;
import io.flutter.embedding.engine.plugins.service.ServiceControlSurface;
import io.flutter.embedding.engine.plugins.service.ServicePluginBinding;
import io.flutter.plugin.platform.PlatformViewsController;

class FlutterEnginePluginRegistry implements PluginRegistry,
ActivityControlSurface,
Expand Down

0 comments on commit 1b02497

Please sign in to comment.