This commit is contained in:
2021-12-08 17:22:18 +01:00
parent b88801500f
commit 89ac69fd4b
10 changed files with 74 additions and 38 deletions

View File

@ -345,6 +345,11 @@ public class Rule implements Comparable<Rule>
return false;
}
public boolean getsGreenLight(Context context)
{
return isRuleActive() && applies(context) && hasNotAppliedSinceLastExecution();
}
public boolean applies(Context context)
{