From 3329f93143adcf3e8329503789d794fdad2e90d5 Mon Sep 17 00:00:00 2001 From: Jamorham Date: Thu, 3 Nov 2016 09:33:58 +0000 Subject: [PATCH] Tasker plugin null pointer fix --- .../com/eveningoutpost/dexdrip/localeTasker/TaskerPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =