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); setContentView(R.layout.activity_manage_trigger_timeframe);
if(Build.VERSION.SDK_INT == 34) // if(Build.VERSION.SDK_INT == 34)
Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show(); // Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show();
startPicker = (TimePicker)findViewById(R.id.tpTimeFrameStart); startPicker = (TimePicker)findViewById(R.id.tpTimeFrameStart);
stopPicker = (TimePicker)findViewById(R.id.tpTimeFrameStop); stopPicker = (TimePicker)findViewById(R.id.tpTimeFrameStop);

View File

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

View File

@@ -5,5 +5,6 @@
* Fixed: Permission BLUETOOTH_CONNECT requested for Bluetooth trigger editor in Google Play version * Fixed: Permission BLUETOOTH_CONNECT requested for Bluetooth trigger editor in Google Play version
* Fixed: Airplane mode trigger didn't work if no locations where defined. * Fixed: Airplane mode trigger didn't work if no locations where defined.
* Fixed: Vibrate action didn't work on some devices * Fixed: Vibrate action didn't work on some devices
* Fixed: Variable trigger didn't always compare correctly.
* Fixed: Permission check for ability to schedule exact timers * Fixed: Permission check for ability to schedule exact timers
* Added Possibility to select UI theme, hence enabling modern UI designs * Added Possibility to select UI theme, hence enabling modern UI designs