- 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
148 lines
2.9 KiB
Java
148 lines
2.9 KiB
Java
package com.tapjoy;
|
|
|
|
import android.text.TextUtils;
|
|
import java.io.Serializable;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class TJPlacementData implements Serializable {
|
|
public String a;
|
|
public String b;
|
|
public String c;
|
|
public String d;
|
|
public int e;
|
|
public String f;
|
|
public boolean g;
|
|
public String h;
|
|
public boolean i;
|
|
public final String j;
|
|
public String k;
|
|
public boolean l = false;
|
|
public boolean m;
|
|
|
|
public TJPlacementData(String str, String str2) {
|
|
setKey(str);
|
|
updateUrl(str2);
|
|
}
|
|
|
|
public String getBaseURL() {
|
|
return this.c;
|
|
}
|
|
|
|
public String getCallbackID() {
|
|
return this.j;
|
|
}
|
|
|
|
public String getContentViewId() {
|
|
return this.k;
|
|
}
|
|
|
|
public String getHttpResponse() {
|
|
return this.d;
|
|
}
|
|
|
|
public int getHttpStatusCode() {
|
|
return this.e;
|
|
}
|
|
|
|
public String getKey() {
|
|
return this.a;
|
|
}
|
|
|
|
public String getPlacementName() {
|
|
return this.f;
|
|
}
|
|
|
|
public String getRedirectURL() {
|
|
return this.h;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return this.b;
|
|
}
|
|
|
|
public boolean hasProgressSpinner() {
|
|
return this.g;
|
|
}
|
|
|
|
public boolean isPreloadDisabled() {
|
|
return this.l;
|
|
}
|
|
|
|
public boolean isPrerenderingRequested() {
|
|
return this.i;
|
|
}
|
|
|
|
public void resetPlacementRequestData() {
|
|
setHttpResponse(null);
|
|
setHttpStatusCode(0);
|
|
setRedirectURL(null);
|
|
setHasProgressSpinner(false);
|
|
setPrerenderingRequested(false);
|
|
setPreloadDisabled(false);
|
|
setContentViewId(null);
|
|
setHandleDismissOnPause(false);
|
|
}
|
|
|
|
public void setBaseURL(String str) {
|
|
this.c = str;
|
|
}
|
|
|
|
public void setContentViewId(String str) {
|
|
this.k = str;
|
|
}
|
|
|
|
public void setHandleDismissOnPause(boolean z) {
|
|
this.m = z;
|
|
}
|
|
|
|
public void setHasProgressSpinner(boolean z) {
|
|
this.g = z;
|
|
}
|
|
|
|
public void setHttpResponse(String str) {
|
|
this.d = str;
|
|
}
|
|
|
|
public void setHttpStatusCode(int i) {
|
|
this.e = i;
|
|
}
|
|
|
|
public void setKey(String str) {
|
|
this.a = str;
|
|
}
|
|
|
|
public void setPlacementName(String str) {
|
|
this.f = str;
|
|
}
|
|
|
|
public void setPreloadDisabled(boolean z) {
|
|
this.l = z;
|
|
}
|
|
|
|
public void setPrerenderingRequested(boolean z) {
|
|
this.i = z;
|
|
}
|
|
|
|
public void setRedirectURL(String str) {
|
|
this.h = str;
|
|
}
|
|
|
|
public boolean shouldHandleDismissOnPause() {
|
|
return this.m;
|
|
}
|
|
|
|
public void updateUrl(String str) {
|
|
this.b = str;
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
setBaseURL(str.substring(0, str.indexOf(47, str.indexOf("//") + 3)));
|
|
}
|
|
|
|
public TJPlacementData(String str, String str2, String str3) {
|
|
setBaseURL(str);
|
|
setHttpResponse(str2);
|
|
this.j = str3;
|
|
}
|
|
}
|