Miscellaneous.logEvent("i","NotificationCloseCheck","Checking if this notification matches our rule " +action.getParentRule().getName()+". App: " +notificationApp+", title: "+notificationTitle+", text: "+notificationText,5);
Miscellaneous.logEvent("i","NotificationCloseCheck","Checking if this notification should be closed in the context of rule "+action.getParentRule().getName()+": "+sn.toString(),5);
if(!myApp.equals("-1"))
if(!myApp.equals(Trigger.anyAppString))
{
if(!notificationApp.equalsIgnoreCase(myApp))
if(!myApp.equalsIgnoreCase(sn.getApp()))
{
Miscellaneous.logEvent("i","NotificationCloseCheck","Notification app name does not match rule.",5);