ModV2.0.4 v1.86526672844804版本的 MD5 值为:ab8437a2d03fc69805a8b4199bd7fecb
以下内容为反编译后的 TaskerIntent.java 源代码,内容仅作参考
package net.dinglisch.android.taskerm;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Build;
import java.util.Random;
public class TaskerIntent extends Intent {
private static Random f11927a = new Random();
public static boolean a(int i) {
return i >= 0 || i <= 10;
}
public static Intent a(boolean z) {
String str;
if (z) {
str = a() == 3 ? "market://details?id=net.dinglisch.android.taskercupcake" : "market://details?id=net.dinglisch.android.taskerm";
} else {
str = "http://tasker.joaoapps.com/download.html";
}
return new Intent("android.intent.action.VIEW", Uri.parse(str));
}
public static int a() {
try {
return Build.VERSION.class.getField("SDK_INT").getInt(null);
} catch (Exception unused) {
return 3;
}
}
public static IntentFilter a(String str) {
IntentFilter intentFilter = new IntentFilter("net.dinglisch.android.tasker.ACTION_TASK_COMPLETE");
intentFilter.addDataScheme("task");
intentFilter.addDataPath(str, 0);
return intentFilter;
}
}