package o;

import android.os.Build;
import android.view.DisplayCutout;
import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ns, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1998ns {
    public final DisplayCutout a;

    public C1998ns(DisplayCutout displayCutout) {
        this.a = displayCutout;
    }

    public final LH a() {
        return Build.VERSION.SDK_INT >= 30 ? LH.c(D0.d(this.a)) : LH.e;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || C1998ns.class != obj.getClass()) {
            return false;
        }
        return Objects.equals(this.a, ((C1998ns) obj).a);
    }

    public final int hashCode() {
        return this.a.hashCode();
    }

    public final String toString() {
        return "DisplayCutoutCompat{" + this.a + "}";
    }
}
