Skip to content

Commit

Permalink
Don't try to perform variable substitution on a Boolean setting (#27)
Browse files Browse the repository at this point in the history
This makes Tasker unhappy, and it yells about it in Logcat
  • Loading branch information
Archenoth authored and fornwall committed Jan 5, 2020
1 parent 87e6e88 commit 7a330e9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ public void finish() {
// The blurb is a concise status text to be displayed in the host's UI.
final String blurb = generateBlurb(executable, arguments, inTerminal);
if (TaskerPlugin.Setting.hostSupportsOnFireVariableReplacement(this)){
TaskerPlugin.Setting.setVariableReplaceKeys(resultBundle,new String[] {PluginBundleManager.EXTRA_EXECUTABLE,
PluginBundleManager.EXTRA_ARGUMENTS,PluginBundleManager.EXTRA_TERMINAL});
TaskerPlugin.Setting.setVariableReplaceKeys(resultBundle,new String[] {
PluginBundleManager.EXTRA_EXECUTABLE,
PluginBundleManager.EXTRA_ARGUMENTS
});
}

resultIntent.putExtra(com.twofortyfouram.locale.Intent.EXTRA_BUNDLE, resultBundle);
Expand Down

0 comments on commit 7a330e9

Please sign in to comment.