- 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
23 lines
756 B
Java
23 lines
756 B
Java
package androidx.lifecycle;
|
|
|
|
import androidx.annotation.RestrictTo;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
|
|
/* loaded from: classes.dex */
|
|
public class MethodCallsLogger {
|
|
private final Map<String, Integer> calledMethods = new HashMap();
|
|
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
|
|
public boolean approveCall(String name, int i) {
|
|
Intrinsics.checkNotNullParameter(name, "name");
|
|
Integer num = this.calledMethods.get(name);
|
|
int intValue = num != null ? num.intValue() : 0;
|
|
boolean z = (intValue & i) != 0;
|
|
this.calledMethods.put(name, Integer.valueOf(i | intValue));
|
|
return !z;
|
|
}
|
|
}
|