Merge branch 'development' of https://git.server47.de/jens/Automation into development

# Conflicts:
#	fastlane/metadata/android/en-US/changelogs/145.txt
This commit is contained in:
2025-12-06 18:00:53 +01:00
3 changed files with 5 additions and 6 deletions

View File

@@ -46,8 +46,8 @@ public class ActivityManageTriggerTimeFrame extends Activity
setContentView(R.layout.activity_manage_trigger_timeframe);
if(Build.VERSION.SDK_INT == 34)
Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show();
// if(Build.VERSION.SDK_INT == 34)
// Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show();
startPicker = (TimePicker)findViewById(R.id.tpTimeFrameStart);
stopPicker = (TimePicker)findViewById(R.id.tpTimeFrameStop);

View File

@@ -679,13 +679,11 @@ public class Trigger
{
if(Miscellaneous.isRegularExpression(conditions[1]))
{
if (map.get(conditions[0]).matches(conditions[1]))
return this.getTriggerParameter();
return (map.get(conditions[0]).matches(conditions[1]) == this.getTriggerParameter());
}
else
{
if (map.get(conditions[0]).equals(conditions[1]))
return this.getTriggerParameter();
return (map.get(conditions[0]).equals(conditions[1]) == this.getTriggerParameter());
}
}
}