Wallkin v1.86859532693版本的 MD5 值为:c3099a56aae2c3706b2239994117cc3a
以下内容为反编译后的 aq.java 源代码,内容仅作参考
package com.joaomgcd.taskerm.action.net;
import android.annotation.TargetApi;
import android.os.Bundle;
import android.telephony.SubscriptionInfo;
import androidx.core.app.NotificationCompat;
import com.google.android.gms.maps.g;
import com.joaomgcd.taskerm.util.cr;
import com.joaomgcd.taskerm.util.ct;
import com.joaomgcd.taskerm.util.cw;
import net.dinglisch.android.taskerm.ExecuteService;
public final class aq extends com.joaomgcd.taskerm.helper.actions.execute.m<bd> {
@Override
public boolean a() {
return true;
}
public aq(ExecuteService executeService, net.dinglisch.android.taskerm.c cVar, Bundle bundle, com.joaomgcd.taskerm.action.a<bd, ?, ?> aVar) {
super(executeService, cVar, bundle, aVar);
c.f.b.k.b(executeService, NotificationCompat.CATEGORY_SERVICE);
c.f.b.k.b(cVar, "action");
c.f.b.k.b(bundle, "taskVars");
c.f.b.k.b(aVar, "actionBase");
}
@Override
@TargetApi(g.a.MapAttrs_latLngBoundsNorthEastLatitude)
public cr a(bd bdVar) {
int intValue;
SubscriptionInfo a2;
c.f.b.k.b(bdVar, "input");
com.joaomgcd.taskerm.net.t type = bdVar.getType();
if (type == null) {
return ct.a("No mobile network type received from input");
}
com.joaomgcd.taskerm.net.s sVar = new com.joaomgcd.taskerm.net.s(h());
Integer valueOf = (!com.joaomgcd.taskerm.util.g.f9751b.b() || (a2 = com.joaomgcd.taskerm.k.a.f7816a.a(h(), bdVar.getSimCard())) == null) ? null : Integer.valueOf(a2.getSubscriptionId());
if (valueOf != null) {
try {
intValue = valueOf.intValue();
} catch (Throwable th) {
if (com.joaomgcd.taskerm.util.g.f9751b.d(h())) {
return ct.a("Unfortunately Google disabled this feature for apps that target Android 10 and above (" + th.getClass().getSimpleName() + "). Check here for more info: https://tasker.joaoapps.com/userguide/en/target_api.html");
}
throw th;
}
} else {
intValue = 1;
}
cr b2 = sVar.a(type, intValue).b();
if (b2.b()) {
return new cw(true, new be(null), null);
}
c.f.b.k.a((Object) b2, "result");
return b2;
}
}