From 11f0ee25bfd2b2efe694f65ceb6e0f5e6fd1980e Mon Sep 17 00:00:00 2001 From: Jens Date: Sat, 6 May 2023 23:32:43 +0200 Subject: [PATCH] bugfixes --- app/build.gradle | 4 ++-- .../automation2/ActivityManageActionRunExecutable.java | 9 +++++++++ fastlane/metadata/android/en-US/changelogs/132.txt | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/132.txt diff --git a/app/build.gradle b/app/build.gradle index 2f765327..bd83c02e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { compileSdkVersion 31 buildToolsVersion '29.0.2' useLibrary 'org.apache.http.legacy' - versionCode 131 - versionName "1.7.15" + versionCode 132 + versionName "1.7.16" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/jens/automation2/ActivityManageActionRunExecutable.java b/app/src/main/java/com/jens/automation2/ActivityManageActionRunExecutable.java index 1111e043..966092a7 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageActionRunExecutable.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageActionRunExecutable.java @@ -57,6 +57,15 @@ public class ActivityManageActionRunExecutable extends Activity saveExecSettings(); } }); + + if(getIntent().hasExtra(ActivityManageRule.intentNameActionParameter2)) + { + String[] parts = getIntent().getStringExtra(ActivityManageRule.intentNameActionParameter2).split(Action.actionParameter2Split); + etRunExecutablePath.setText(parts[0]); + + if(parts.length > 1) + etRunExecutableParameters.setText(parts[1]); + } } void saveExecSettings() diff --git a/fastlane/metadata/android/en-US/changelogs/132.txt b/fastlane/metadata/android/en-US/changelogs/132.txt new file mode 100644 index 00000000..0251351e --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/132.txt @@ -0,0 +1,2 @@ +* Fixed: Run executable action - when editing values were not loaded in editor +* Added: Variables usable in intent parameters \ No newline at end of file