Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 d.java 源代码,内容仅作参考
package myobfuscated.xx;
import android.content.Context;
import com.picsart.analytics.PAanalytics;
import com.picsart.analytics.util.prefs.PreferencesBaseService;
import com.picsart.studio.common.source.ResourceSourceContainer;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.MutablePropertyReference1Impl;
import org.jetbrains.annotations.NotNull;
public final class d extends PreferencesBaseService implements c {
public static final myobfuscated.el2.j<Object>[] k;
@NotNull
public final String c;
@NotNull
public final myobfuscated.ly.a d;
@NotNull
public final myobfuscated.ly.a e;
@NotNull
public final myobfuscated.ly.a f;
@NotNull
public final myobfuscated.ly.a g;
@NotNull
public final myobfuscated.ly.a h;
@NotNull
public final myobfuscated.ly.a i;
@NotNull
public final myobfuscated.ly.a j;
static {
MutablePropertyReference1Impl mutablePropertyReference1Impl = new MutablePropertyReference1Impl(d.class, "analyticSettingsUrl", "getAnalyticSettingsUrl()Ljava/lang/String;", 0);
myobfuscated.xk2.r rVar = myobfuscated.xk2.q.a;
k = new myobfuscated.el2.j[]{rVar.d(mutablePropertyReference1Impl), defpackage.a.q(d.class, "market", "getMarket()Ljava/lang/String;", 0, rVar), defpackage.a.q(d.class, "countryCode", "getCountryCode()Ljava/lang/String;", 0, rVar), defpackage.a.q(d.class, "deviceId", "getDeviceId()Ljava/lang/String;", 0, rVar), defpackage.a.q(d.class, "settingsFileCacheAvailable", "getSettingsFileCacheAvailable()Z", 0, rVar), defpackage.a.q(d.class, "automationConfigFile", "getAutomationConfigFile()Ljava/lang/String;", 0, rVar), defpackage.a.q(d.class, ResourceSourceContainer.KEY_VERSION, "getVersion()I", 0, rVar), defpackage.a.q(d.class, "analyticsNetUrl", "getAnalyticsNetUrl()Ljava/lang/String;", 0, rVar)};
}
public d(@NotNull Context context) {
super(context);
Intrinsics.checkNotNullParameter(context, "context");
this.c = "com.picsart.analytics";
this.d = new myobfuscated.ly.a(PAanalytics.PREFERENCE_KEY_ANALYTICS_SETTINGS_URL, "https://settings.picsart.com/api/settings", this);
Intrinsics.checkNotNullParameter("market", "key");
Intrinsics.checkNotNullParameter(this, "preferencesServiceAPI");
this.e = new myobfuscated.ly.a("utils_country_code", "", this);
this.f = new myobfuscated.ly.a("device_id", null, this);
this.g = new myobfuscated.ly.a("settings_file_cache_available", Boolean.FALSE, this);
this.h = new myobfuscated.ly.a("config_file_path", "", this);
this.i = new myobfuscated.ly.a("app_version_settings", -1, this);
this.j = new myobfuscated.ly.a("analytics_net_url", null, this);
}
@Override
public final void d(String str) {
this.j.setValue(this, k[7], str);
}
@Override
@NotNull
public final String e() {
return this.c;
}
@Override
public final void f() {
this.g.setValue(this, k[4], Boolean.TRUE);
}
@Override
@NotNull
public final String getCountryCode() {
return (String) this.e.getValue(this, k[2]);
}
@Override
public final String getDeviceId() {
return (String) this.f.getValue(this, k[3]);
}
@Override
public final int getVersion() {
return ((Number) this.i.getValue(this, k[6])).intValue();
}
@Override
@NotNull
public final String i() {
return (String) this.d.getValue(this, k[0]);
}
@Override
public final void j(String str) {
this.f.setValue(this, k[3], str);
}
@Override
public final boolean k() {
return ((Boolean) this.g.getValue(this, k[4])).booleanValue();
}
@Override
@NotNull
public final String l() {
return (String) this.h.getValue(this, k[5]);
}
@Override
public final void m(int i) {
this.i.setValue(this, k[6], Integer.valueOf(i));
}
}