花瓣 v4.6.12版本的 MD5 值为:6a3515d4d16d98931f1b3d25a91b257e
以下内容为反编译后的 d.java 源代码,内容仅作参考
package com.kwad.components.core.offline.init.kwai;
import android.content.Context;
import android.location.Location;
import com.bytedance.msdk.adapter.pangle.PangleAdapterUtils;
import com.kwad.components.offline.api.BuildConfig;
import com.kwad.components.offline.api.core.api.IEnvironment;
import com.kwad.sdk.KsAdSDKImpl;
import com.kwad.sdk.core.network.o;
import com.kwad.sdk.utils.AbiUtil;
import com.kwad.sdk.utils.SystemUtil;
import com.kwad.sdk.utils.af;
import com.kwad.sdk.utils.at;
import com.kwad.sdk.utils.bc;
final class d implements IEnvironment {
@Override
public final String getAppId() {
return KsAdSDKImpl.get().getAppId();
}
@Override
public final String getAppVersion() {
return BuildConfig.VERSION_NAME;
}
@Override
public final String getBiz() {
return com.kwad.sdk.d.Wd;
}
@Override
public final Context getContext() {
return KsAdSDKImpl.get().getContext();
}
@Override
public final String getDeviceId() {
return bc.getDeviceId();
}
@Override
public final String getKpf() {
return "ANDROID_PHONE";
}
@Override
public final String getKpn() {
return "kseulivesdk";
}
@Override
public final double getLatitude(Context context) {
Location cb = at.cb(context);
return cb != null ? cb.getLatitude() : PangleAdapterUtils.CPM_DEFLAUT_VALUE;
}
@Override
public final double getLongitude(Context context) {
Location cb = at.cb(context);
return cb != null ? cb.getLongitude() : PangleAdapterUtils.CPM_DEFLAUT_VALUE;
}
@Override
public final String getOperator(Context context) {
return String.valueOf(af.ct(context));
}
@Override
public final String getOsVersion() {
return bc.getOsVersion();
}
@Override
public final String getProcessName(Context context) {
return SystemUtil.getProcessName(context);
}
@Override
public final String getSdkVersion() {
return BuildConfig.VERSION_NAME;
}
@Override
public final String getUserAgent() {
return o.getUserAgent();
}
@Override
public final boolean isArm64(Context context) {
return AbiUtil.isArm64(context);
}
@Override
public final boolean isDebug() {
return false;
}
@Override
public final boolean isDevelopEnable() {
return com.kwad.components.core.a.bz.booleanValue();
}
@Override
public final boolean isInMainProcess(Context context) {
return SystemUtil.isInMainProcess(context);
}
@Override
public final String localIpAddress() {
return "10.244.132.170";
}
}