We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f8196 commit a39729cCopy full SHA for a39729c
app/src/main/java/org/autojs/autojs/external/ScriptIntents.java
@@ -37,7 +37,7 @@ public static boolean isTaskerBundleValid(Bundle bundle) {
37
public static boolean handleIntent(Context context, Intent intent) {
38
String path = getPath(intent);
39
String script = intent.getStringExtra(ScriptIntents.EXTRA_KEY_PRE_EXECUTE_SCRIPT);
40
- if(com.stardust.util.TextUtils.isBase64(script)){
+ if(script!=null && com.stardust.util.TextUtils.isBase64(script)){
41
try{
42
String newScript = Base64Utils.base64Decode(script);
43
if(!TextUtils.isEmpty(newScript)){
0 commit comments