diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/localeTasker/TaskerPlugin.java b/app/src/main/java/com/eveningoutpost/dexdrip/localeTasker/TaskerPlugin.java index 3397d5469b..44ab979ca1 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/localeTasker/TaskerPlugin.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/localeTasker/TaskerPlugin.java @@ -337,7 +337,7 @@ public static boolean hostSupportsOnFireVariableReplacement( Activity editActivi boolean supportedFlag = hostSupportsOnFireVariableReplacement( editActivity.getIntent().getExtras() ); if ( ! supportedFlag ) { - String callerPackage = editActivity.getCallingActivity().getPackageName(); + String callerPackage = (editActivity.getCallingActivity() != null) ? editActivity.getCallingActivity().getPackageName() : "null"; // Tasker only supporteed this from 1.0.10 supportedFlag =