I'm trying to use the flutter\_foreground\_plugin for my project but I'm having difficulty understanding how to edit the android manifest file.

**these are the required edits:**
[![enter image description here](https://i.stack.imgur.com/lvz1B.png)](https://i.stack.imgur.com/lvz1B.png)

**These are my interpretations of said edits:**
[![enter image description here](https://i.stack.imgur.com/aOVrP.png)](https://i.stack.imgur.com/aOVrP.png)

What am I doing wrong? I get the error

```
error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin
    flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin());

```