Rework
This commit is contained in:
1 parent
b88801500f
commit
89ac69fd4b
10 files changed
+74
-38
No files matched your search
@@ -341,6 +341,11 @@ public class Rule implements Comparable<Rule>
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean getsGreenLight(Context context)
|
||||
{
|
||||
return isRuleActive() && applies(context) && hasNotAppliedSinceLastExecution();
|
||||
}
|
||||
|
||||
public boolean applies(Context context)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user