diff --git a/app/src/main/java/com/jens/automation2/Actions.java b/app/src/main/java/com/jens/automation2/Actions.java index 7fd67c71..46ef3456 100644 --- a/app/src/main/java/com/jens/automation2/Actions.java +++ b/app/src/main/java/com/jens/automation2/Actions.java @@ -1066,6 +1066,8 @@ public class Actions if(packageName.equals("dummyPkg")) externalApplicationIntent.setAction(className); + externalApplicationIntent.setClassName(packageName, className); + if (!Miscellaneous.doesActivityExist(externalApplicationIntent, Miscellaneous.getAnyContext())) Miscellaneous.logEvent("w", "StartOtherApp", "Activity not found: " + className, 2); } diff --git a/app/src/main/java/com/jens/automation2/ActivityManageActionStartActivity.java b/app/src/main/java/com/jens/automation2/ActivityManageActionStartActivity.java index 03eb63df..69251cb6 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageActionStartActivity.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageActionStartActivity.java @@ -298,7 +298,11 @@ public class ActivityManageActionStartActivity extends Activity public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if(isChecked) + { bSelectApp.setEnabled(isChecked); + } +bug + etClassName.setEnabled(!isChecked); } });