Fixed infinite loop

This commit is contained in:
2021-11-05 22:47:48 +01:00
parent 88cdc366c5
commit 0c646b55fc
3 changed files with 41 additions and 0 deletions

View File

@ -833,6 +833,13 @@ public class Rule implements Comparable<Rule>
continue;
}
}
else
{
if(myApp.equals(BuildConfig.APPLICATION_ID))
{
return false;
}
}
/*
If there are multiple notifications ("stacked") title or text might be null:
@ -897,6 +904,13 @@ public class Rule implements Comparable<Rule>
if (!app.equalsIgnoreCase(myApp))
return false;
}
else
{
if(myApp.equals(BuildConfig.APPLICATION_ID))
{
return false;
}
}
if (requiredTitle.length() > 0)
{