| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package com.example.e2e_example; |
| |
| import dev.flutter.plugins.e2e.E2EPlugin; |
| import io.flutter.embedding.android.FlutterActivity; |
| import io.flutter.embedding.engine.FlutterEngine; |
| |
| public class MainActivity extends FlutterActivity { |
| @Override |
| public void configureFlutterEngine(FlutterEngine flutterEngine) { |
| flutterEngine.getPlugins().add(new E2EPlugin()); |
| } |
| } |