Skip to content

Commit

Permalink
Updated API usage in scenario app by deleting unnecessary method. (fl…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-carroll authored Sep 4, 2019
1 parent e18298c commit 3aafd0f
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
import io.flutter.embedding.android.FlutterView;
import io.flutter.embedding.engine.FlutterEngine;
import io.flutter.embedding.engine.FlutterShellArgs;
import io.flutter.embedding.engine.renderer.OnFirstFrameRenderedListener;
import io.flutter.plugin.common.BasicMessageChannel;
import io.flutter.plugin.common.BinaryCodec;

public class MainActivity extends FlutterActivity implements OnFirstFrameRenderedListener {
public class MainActivity extends FlutterActivity {
final static String TAG = "Scenarios";

@Override
Expand All @@ -40,12 +39,6 @@ protected void onCreate(Bundle savedInstanceState) {
}
}

public void onFirstFrameRendered() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
reportFullyDrawn();
}
}

@Override
@NonNull
public FlutterShellArgs getFlutterShellArgs() {
Expand Down

0 comments on commit 3aafd0f

Please sign in to comment.