var replacement
This commit is contained in:
parent
423839fa43
commit
b5040cedb3
17
.idea/deploymentTargetDropDown.xml
generated
17
.idea/deploymentTargetDropDown.xml
generated
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="deploymentTargetDropDown">
|
|
||||||
<targetSelectedWithDropDown>
|
|
||||||
<Target>
|
|
||||||
<type value="QUICK_BOOT_TARGET" />
|
|
||||||
<deviceKey>
|
|
||||||
<Key>
|
|
||||||
<type value="VIRTUAL_DEVICE_PATH" />
|
|
||||||
<value value="C:\Users\jens\.android\avd\Android_11.avd" />
|
|
||||||
</Key>
|
|
||||||
</deviceKey>
|
|
||||||
</Target>
|
|
||||||
</targetSelectedWithDropDown>
|
|
||||||
<timeTargetWasSelectedWithDropDown value="2021-08-14T11:41:28.444891400Z" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
@ -607,7 +607,10 @@ public class Miscellaneous extends Service
|
|||||||
if(notificationTitle != null && notificationTitle.length() > 0)
|
if(notificationTitle != null && notificationTitle.length() > 0)
|
||||||
source = source.replace("[notificationTitle]", notificationTitle);
|
source = source.replace("[notificationTitle]", notificationTitle);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
source = source.replace("notificationTitle unknown", notificationTitle);
|
||||||
Miscellaneous.logEvent("w", "Variable replacement", "notificationTitle was empty.", 3);
|
Miscellaneous.logEvent("w", "Variable replacement", "notificationTitle was empty.", 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(source.contains("[notificationText]"))
|
if(source.contains("[notificationText]"))
|
||||||
@ -617,7 +620,10 @@ public class Miscellaneous extends Service
|
|||||||
if(notificationText != null && notificationText.length() > 0)
|
if(notificationText != null && notificationText.length() > 0)
|
||||||
source = source.replace("[notificationText]", notificationText);
|
source = source.replace("[notificationText]", notificationText);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
source = source.replace("notificationText unknown", notificationText);
|
||||||
Miscellaneous.logEvent("w", "Variable replacement", "notificationText was empty.", 3);
|
Miscellaneous.logEvent("w", "Variable replacement", "notificationText was empty.", 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Miscellaneous.logEvent("i", "URL after replace", source);
|
// Miscellaneous.logEvent("i", "URL after replace", source);
|
||||||
|
Loading…
Reference in New Issue
Block a user