package o; import android.content.Context; import java.nio.ByteBuffer; import java.security.MessageDigest; /* loaded from: classes.dex */ public final class vjG implements InterfaceC2545agd { private final int c; private final InterfaceC2545agd d; public static InterfaceC2545agd d(Context context) { return new vjG(context.getResources().getConfiguration().uiMode & 48, C16560pNu.b(context)); } private vjG(int i, InterfaceC2545agd interfaceC2545agd) { this.c = i; this.d = interfaceC2545agd; } @Override // o.InterfaceC2545agd public final boolean equals(Object obj) { if (!(obj instanceof vjG)) { return false; } vjG vjg = (vjG) obj; return this.c == vjg.c && this.d.equals(vjg.d); } @Override // o.InterfaceC2545agd public final int hashCode() { return FKd.e(this.d, this.c); } @Override // o.InterfaceC2545agd public final void a(MessageDigest messageDigest) { this.d.a(messageDigest); messageDigest.update(ByteBuffer.allocate(4).putInt(this.c).array()); } }