- 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
62 lines
1.8 KiB
Java
62 lines
1.8 KiB
Java
package com.vungle.ads;
|
|
|
|
import com.ironsource.zk;
|
|
import com.vungle.ads.internal.privacy.PrivacyConsent;
|
|
import com.vungle.ads.internal.privacy.PrivacyManager;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class VunglePrivacySettings {
|
|
public static final VunglePrivacySettings INSTANCE = new VunglePrivacySettings();
|
|
|
|
private VunglePrivacySettings() {
|
|
}
|
|
|
|
public static final void setCOPPAStatus(boolean z) {
|
|
PrivacyManager.INSTANCE.updateCoppaConsent(z);
|
|
}
|
|
|
|
public static final String getCOPPAStatus() {
|
|
return PrivacyManager.INSTANCE.getCoppaStatus().name();
|
|
}
|
|
|
|
public static final void setGDPRStatus(boolean z, String str) {
|
|
String value;
|
|
if (z) {
|
|
value = PrivacyConsent.OPT_IN.getValue();
|
|
} else {
|
|
value = PrivacyConsent.OPT_OUT.getValue();
|
|
}
|
|
PrivacyManager.INSTANCE.updateGdprConsent(value, zk.b, str);
|
|
}
|
|
|
|
public static final String getGDPRStatus() {
|
|
return PrivacyManager.INSTANCE.getConsentStatus();
|
|
}
|
|
|
|
public static final String getGDPRMessageVersion() {
|
|
return PrivacyManager.INSTANCE.getConsentMessageVersion();
|
|
}
|
|
|
|
public static final String getGDPRSource() {
|
|
return PrivacyManager.INSTANCE.getConsentSource();
|
|
}
|
|
|
|
public static final long getGDPRTimestamp() {
|
|
return PrivacyManager.INSTANCE.getConsentTimestamp();
|
|
}
|
|
|
|
public static final void setCCPAStatus(boolean z) {
|
|
PrivacyConsent privacyConsent;
|
|
if (z) {
|
|
privacyConsent = PrivacyConsent.OPT_IN;
|
|
} else {
|
|
privacyConsent = PrivacyConsent.OPT_OUT;
|
|
}
|
|
PrivacyManager.INSTANCE.updateCcpaConsent(privacyConsent);
|
|
}
|
|
|
|
public static final String getCCPAStatus() {
|
|
return PrivacyManager.INSTANCE.getCcpaStatus();
|
|
}
|
|
}
|