- 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
90 lines
2.5 KiB
Java
90 lines
2.5 KiB
Java
package com.facebook.ads.internal.settings;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.annotation.Keep;
|
|
import androidx.annotation.Nullable;
|
|
import com.facebook.infer.annotation.Nullsafe;
|
|
import java.io.Serializable;
|
|
import java.util.ArrayList;
|
|
|
|
@Keep
|
|
@Nullsafe(Nullsafe.Mode.LOCAL)
|
|
/* loaded from: classes2.dex */
|
|
public class MultithreadedBundleWrapper {
|
|
private final Bundle mBundle = new Bundle();
|
|
|
|
public synchronized void putBoolean(String str, boolean z) {
|
|
this.mBundle.putBoolean(str, z);
|
|
}
|
|
|
|
public synchronized boolean getBoolean(String str) {
|
|
return this.mBundle.getBoolean(str);
|
|
}
|
|
|
|
public synchronized boolean getBoolean(String str, boolean z) {
|
|
return this.mBundle.getBoolean(str, z);
|
|
}
|
|
|
|
@Nullable
|
|
public synchronized ArrayList<String> getStringArrayList(String str) {
|
|
return this.mBundle.getStringArrayList(str);
|
|
}
|
|
|
|
public synchronized void putStringArrayList(String str, ArrayList<String> arrayList) {
|
|
this.mBundle.putStringArrayList(str, arrayList);
|
|
}
|
|
|
|
@Nullable
|
|
public synchronized String getString(String str, @Nullable String str2) {
|
|
return this.mBundle.getString(str, str2);
|
|
}
|
|
|
|
public synchronized void putString(String str, @Nullable String str2) {
|
|
this.mBundle.putString(str, str2);
|
|
}
|
|
|
|
public synchronized void putSerializable(String str, Serializable serializable) {
|
|
this.mBundle.putSerializable(str, serializable);
|
|
}
|
|
|
|
public synchronized void putStringArray(String str, String[] strArr) {
|
|
this.mBundle.putStringArray(str, strArr);
|
|
}
|
|
|
|
@Nullable
|
|
public synchronized String[] getStringArray(String str) {
|
|
return this.mBundle.getStringArray(str);
|
|
}
|
|
|
|
public synchronized void putInteger(String str, @Nullable Integer num) {
|
|
try {
|
|
if (num != null) {
|
|
this.mBundle.putInt(str, num.intValue());
|
|
} else {
|
|
this.mBundle.remove(str);
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
@Nullable
|
|
public synchronized Integer getInteger(String str) {
|
|
return this.mBundle.containsKey(str) ? Integer.valueOf(this.mBundle.getInt(str)) : null;
|
|
}
|
|
|
|
@Nullable
|
|
public synchronized Serializable getSerializable(String str) {
|
|
return this.mBundle.getSerializable(str);
|
|
}
|
|
|
|
public Bundle toBundle() {
|
|
return new Bundle(this.mBundle);
|
|
}
|
|
|
|
public synchronized void reset(Bundle bundle) {
|
|
this.mBundle.clear();
|
|
this.mBundle.putAll(bundle);
|
|
}
|
|
}
|