diff --git a/app/src/apkFlavor/AndroidManifest.xml b/app/src/apkFlavor/AndroidManifest.xml
index 3e0abe21..8137dc3d 100644
--- a/app/src/apkFlavor/AndroidManifest.xml
+++ b/app/src/apkFlavor/AndroidManifest.xml
@@ -137,12 +137,12 @@
-
+
-
+
-
-
+
+
-
-
-
-
+
+
+
+
@@ -218,6 +218,12 @@
+
+
\ No newline at end of file
diff --git a/app/src/fdroidFlavor/AndroidManifest.xml b/app/src/fdroidFlavor/AndroidManifest.xml
index a2120b00..d3a0df13 100644
--- a/app/src/fdroidFlavor/AndroidManifest.xml
+++ b/app/src/fdroidFlavor/AndroidManifest.xml
@@ -132,11 +132,11 @@
-
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
@@ -196,6 +196,12 @@
+
+
\ No newline at end of file
diff --git a/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java b/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java
index 1aa8e1d3..af80b78a 100644
--- a/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java
+++ b/app/src/fdroidFlavor/java/com/jens/automation2/Rule.java
@@ -3,7 +3,9 @@ package com.jens.automation2;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.os.AsyncTask;
+import android.os.Build;
import android.os.Looper;
+import android.service.notification.StatusBarNotification;
import android.util.Log;
import android.widget.Toast;
@@ -14,6 +16,7 @@ import com.jens.automation2.receivers.ConnectivityReceiver;
import com.jens.automation2.receivers.HeadphoneJackListener;
import com.jens.automation2.receivers.NfcReceiver;
import com.jens.automation2.receivers.NoiseListener;
+import com.jens.automation2.receivers.NotificationListener;
import com.jens.automation2.receivers.PhoneStatusListener;
import com.jens.automation2.receivers.ProcessListener;
@@ -22,6 +25,9 @@ import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
+import static com.jens.automation2.Trigger.triggerParameter2Split;
+import static com.jens.automation2.receivers.NotificationListener.EXTRA_TEXT;
+import static com.jens.automation2.receivers.NotificationListener.EXTRA_TITLE;
public class Rule implements Comparable
{
@@ -831,6 +837,8 @@ public class Rule implements Comparable
private class ActivateRuleTask extends AsyncTask