URL in variable bug fixed

This commit is contained in:
2026-01-25 18:55:44 +01:00
parent ccf87dbef0
commit 9ff121e82a
3 changed files with 5 additions and 1 deletions

View File

@@ -1171,6 +1171,8 @@ public class Actions
// externalApplicationIntent = packParametersIntoIntent(externalApplicationIntent, params, 3);
}
Miscellaneous.logEvent("i", "StartOtherApp", "Starting other app with intent: " + externalApplicationIntent.toString() + " / " + externalApplicationIntent.getDataString(), 5);
if (startupType.equals(ActivityManageActionStartActivity.startByActivityString))
automationServerRef.startActivity(externalApplicationIntent);
else if (startupType.equals(ActivityManageActionStartActivity.startByServiceString))

View File

@@ -840,7 +840,8 @@ public class Miscellaneous extends Service
String notificationText = NotificationListener.getLastNotification().getText();
if (notificationText != null && notificationText.length() > 0)
source = source.replace("[notificationText]", escapeStringForUrl(notificationText));
//source = source.replace("[notificationText]", escapeStringForUrl(notificationText));
source = source.replace("[notificationText]", notificationText);
else
{
source = source.replace("[notificationText]", "notificationText unknown");

View File

@@ -1,4 +1,5 @@
* Fixed: Set-wifi action wasn't correctly pre-filled-out when editing action.
* Fixed: Service startup checks improved when no rules with full permissions were present.
* Fixed: Editing bluetooth trigger could crash if permissions weren't given.
* Fixed: URLs from notifications wouldn't open when used in a rule as a variable.
* Added: Action to change system settings