diff --git a/app/src/main/java/com/jens/automation2/Actions.java b/app/src/main/java/com/jens/automation2/Actions.java index eeb8ebe4..97856aaf 100644 --- a/app/src/main/java/com/jens/automation2/Actions.java +++ b/app/src/main/java/com/jens/automation2/Actions.java @@ -610,6 +610,9 @@ public class Actions Miscellaneous.logEvent("i", "StartOtherApp", "Starting app by action: " + param, 3); paramsStartIndex = 1; externalActivityIntent = new Intent(param); + externalActivityIntent.addCategory(Intent.CATEGORY_DEFAULT); +// if(externalActivityIntent.resolveActivity(autoMationServerRef.getPackageManager()) == null) +// Toast.makeText(context, "bad", Toast.LENGTH_LONG).show(); } externalActivityIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);