Files
rr3-apk/decompiled/sources/com/mbridge/msdk/foundation/tools/at.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

36 lines
908 B
Java

package com.mbridge.msdk.foundation.tools;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import java.util.concurrent.atomic.AtomicInteger;
/* loaded from: classes4.dex */
public final class at {
private static final AtomicInteger a = new AtomicInteger(1);
public static void a(View view) {
if (view != null) {
ViewParent parent = view.getParent();
if (parent instanceof ViewGroup) {
((ViewGroup) parent).removeView(view);
}
}
}
public static int a() {
AtomicInteger atomicInteger;
int i;
int i2;
do {
atomicInteger = a;
i = atomicInteger.get();
i2 = i + 1;
if (i2 > 16777215) {
i2 = 1;
}
} while (!atomicInteger.compareAndSet(i, i2));
return i;
}
}