diff --git a/app/src/main/java/com/jens/automation2/Actions.java b/app/src/main/java/com/jens/automation2/Actions.java index 7fd67c7..46ef345 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 03eb63d..69251cb 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); } });