Rabbit-R1/switch port/java/sources/androidx/fragment/app/strictmode/FragmentReuseViolation.java
2024-05-21 17:08:36 -04:00

25 lines
1.7 KiB
Java

package androidx.fragment.app.strictmode;
import androidx.fragment.app.Fragment;
import io.sentry.protocol.Request;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: FragmentReuseViolation.kt */
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u0017\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\\u0006\t"}, d2 = {"Landroidx/fragment/app/strictmode/FragmentReuseViolation;", "Landroidx/fragment/app/strictmode/Violation;", Request.JsonKeys.FRAGMENT, "Landroidx/fragment/app/Fragment;", "previousFragmentId", "", "(Landroidx/fragment/app/Fragment;Ljava/lang/String;)V", "getPreviousFragmentId", "()Ljava/lang/String;", "fragment_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class FragmentReuseViolation extends Violation {
private final String previousFragmentId;
public final String getPreviousFragmentId() {
return this.previousFragmentId;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public FragmentReuseViolation(Fragment fragment, String previousFragmentId) {
super(fragment, "Attempting to reuse fragment " + fragment + " with previous ID " + previousFragmentId);
Intrinsics.checkNotNullParameter(fragment, "fragment");
Intrinsics.checkNotNullParameter(previousFragmentId, "previousFragmentId");
this.previousFragmentId = previousFragmentId;
}
}