package androidx.fragment.app.strictmode;

import androidx.fragment.app.e0;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import u.a;

/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0005\u0018\u00002\u00020\u0001R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006R\u0017\u0010\b\u001a\u00020\u00078\u0006¢\u0006\f\n\u0004\b\b\u0010\t\u001a\u0004\b\n\u0010\u000b¨\u0006\f"}, d2 = {"Landroidx/fragment/app/strictmode/WrongNestedHierarchyViolation;", "Landroidx/fragment/app/strictmode/Violation;", "Landroidx/fragment/app/e0;", "expectedParentFragment", "Landroidx/fragment/app/e0;", "getExpectedParentFragment", "()Landroidx/fragment/app/e0;", "", "containerId", "I", "getContainerId", "()I", "fragment_release"}, k = 1, mv = {1, 8, 0})
public final class WrongNestedHierarchyViolation extends Violation {
    private final int containerId;

    @NotNull
    private final e0 expectedParentFragment;

    public WrongNestedHierarchyViolation(e0 e0Var, e0 e0Var2, int i10) {
        StringBuilder sb = new StringBuilder("Attempting to nest fragment ");
        sb.append(e0Var);
        sb.append(" within the view of parent fragment ");
        sb.append(e0Var2);
        sb.append(" via container with ID ");
        super(e0Var, a.b(sb, i10, " without using parent's childFragmentManager"));
        this.expectedParentFragment = e0Var2;
        this.containerId = i10;
    }
}
