not contains comparator
This commit is contained in:
parent
38665ccd92
commit
dd7c3cb1d6
@ -6,6 +6,8 @@ import android.os.Build;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
|
import androidx.annotation.RequiresApi;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.http.client.methods.HttpGet;
|
import org.apache.http.client.methods.HttpGet;
|
||||||
|
|
||||||
@ -437,7 +439,7 @@ public class Action
|
|||||||
|
|
||||||
return (String[])actionTypesList.toArray(new String[actionTypesList.size()]);
|
return (String[])actionTypesList.toArray(new String[actionTypesList.size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void run(Context context, boolean toggleActionIfPossible)
|
public void run(Context context, boolean toggleActionIfPossible)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -272,6 +272,7 @@ public class ActivityManageTriggerNotification extends Activity
|
|||||||
directions = new String[] {
|
directions = new String[] {
|
||||||
getResources().getString(R.string.directionStringEquals),
|
getResources().getString(R.string.directionStringEquals),
|
||||||
getResources().getString(R.string.directionStringContains),
|
getResources().getString(R.string.directionStringContains),
|
||||||
|
getResources().getString(R.string.directionStringDoesNotContain),
|
||||||
getResources().getString(R.string.directionStringStartsWith),
|
getResources().getString(R.string.directionStringStartsWith),
|
||||||
getResources().getString(R.string.directionStringEndsWith),
|
getResources().getString(R.string.directionStringEndsWith),
|
||||||
getResources().getString(R.string.directionStringNotEquals)
|
getResources().getString(R.string.directionStringNotEquals)
|
||||||
|
@ -1659,6 +1659,8 @@ public class Trigger
|
|||||||
return Miscellaneous.getAnyContext().getString(R.string.directionStringEquals);
|
return Miscellaneous.getAnyContext().getString(R.string.directionStringEquals);
|
||||||
case directionContains:
|
case directionContains:
|
||||||
return Miscellaneous.getAnyContext().getString(R.string.directionStringContains);
|
return Miscellaneous.getAnyContext().getString(R.string.directionStringContains);
|
||||||
|
case directionNotContains:
|
||||||
|
return Miscellaneous.getAnyContext().getString(R.string.directionStringDoesNotContain);
|
||||||
case directionStartsWith:
|
case directionStartsWith:
|
||||||
return Miscellaneous.getAnyContext().getString(R.string.directionStringStartsWith);
|
return Miscellaneous.getAnyContext().getString(R.string.directionStringStartsWith);
|
||||||
case directionEndsWith:
|
case directionEndsWith:
|
||||||
|
Loading…
Reference in New Issue
Block a user