Files
rr3-apk/decompiled/sources/androidx/lifecycle/MethodCallsLogger.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

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;
}
}