- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
89 lines
2.7 KiB
Java
89 lines
2.7 KiB
Java
package com.applovin.sdk;
|
|
|
|
import android.content.Context;
|
|
import androidx.annotation.Nullable;
|
|
import com.applovin.impl.a4;
|
|
import com.applovin.impl.sdk.j;
|
|
import com.applovin.impl.sdk.n;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class AppLovinPrivacySettings {
|
|
@Nullable
|
|
public static Boolean getAdditionalConsentStatus(int i) {
|
|
j jVar = j.v0;
|
|
if (jVar != null) {
|
|
return jVar.k0().a(i);
|
|
}
|
|
n.h("AppLovinPrivacySettings", "AppLovinPrivacySettings.getAdditionalConsentStatus(...) called when AppLovin MAX SDK is not initialized yet");
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
public static Boolean getPurposeConsentStatus(int i) {
|
|
j jVar = j.v0;
|
|
if (jVar != null) {
|
|
return jVar.k0().b(i);
|
|
}
|
|
n.h("AppLovinPrivacySettings", "AppLovinPrivacySettings.getPurposeConsentStatus(...) called when AppLovin MAX SDK is not initialized yet");
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
public static Boolean getSpecialFeatureOptInStatus(int i) {
|
|
j jVar = j.v0;
|
|
if (jVar != null) {
|
|
return jVar.k0().c(i);
|
|
}
|
|
n.h("AppLovinPrivacySettings", "AppLovinPrivacySettings.getSpecialFeatureOptInStatus(...) called when AppLovin MAX SDK is not initialized yet");
|
|
return null;
|
|
}
|
|
|
|
@Nullable
|
|
public static Boolean getTcfVendorConsentStatus(int i) {
|
|
j jVar = j.v0;
|
|
if (jVar != null) {
|
|
return jVar.k0().d(i);
|
|
}
|
|
n.h("AppLovinPrivacySettings", "AppLovinPrivacySettings.getTcfVendorConsentStatus(...) called when AppLovin MAX SDK is not initialized yet");
|
|
return null;
|
|
}
|
|
|
|
public static boolean hasUserConsent(Context context) {
|
|
Boolean b = a4.b().b(context);
|
|
if (b != null) {
|
|
return b.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public static boolean isDoNotSell(Context context) {
|
|
Boolean b = a4.a().b(context);
|
|
if (b != null) {
|
|
return b.booleanValue();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public static boolean isDoNotSellSet(Context context) {
|
|
return a4.a().b(context) != null;
|
|
}
|
|
|
|
public static boolean isUserConsentSet(Context context) {
|
|
return a4.b().b(context) != null;
|
|
}
|
|
|
|
public static void setDoNotSell(boolean z, Context context) {
|
|
n.g("AppLovinPrivacySettings", "setDoNotSell()");
|
|
if (a4.a(z, context)) {
|
|
AppLovinSdk.reinitializeAll(null, Boolean.valueOf(z));
|
|
}
|
|
}
|
|
|
|
public static void setHasUserConsent(boolean z, Context context) {
|
|
n.g("AppLovinPrivacySettings", "setHasUserConsent()");
|
|
if (a4.b(z, context)) {
|
|
AppLovinSdk.reinitializeAll(Boolean.valueOf(z), null);
|
|
}
|
|
}
|
|
}
|