- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
88 lines
2.6 KiB
Java
88 lines
2.6 KiB
Java
package androidx.work.impl.constraints;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class NetworkState {
|
|
private final boolean isConnected;
|
|
private final boolean isMetered;
|
|
private final boolean isNotRoaming;
|
|
private final boolean isValidated;
|
|
|
|
public static /* synthetic */ NetworkState copy$default(NetworkState networkState, boolean z, boolean z2, boolean z3, boolean z4, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
z = networkState.isConnected;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z2 = networkState.isValidated;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
z3 = networkState.isMetered;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
z4 = networkState.isNotRoaming;
|
|
}
|
|
return networkState.copy(z, z2, z3, z4);
|
|
}
|
|
|
|
public final boolean component1() {
|
|
return this.isConnected;
|
|
}
|
|
|
|
public final boolean component2() {
|
|
return this.isValidated;
|
|
}
|
|
|
|
public final boolean component3() {
|
|
return this.isMetered;
|
|
}
|
|
|
|
public final boolean component4() {
|
|
return this.isNotRoaming;
|
|
}
|
|
|
|
public final NetworkState copy(boolean z, boolean z2, boolean z3, boolean z4) {
|
|
return new NetworkState(z, z2, z3, z4);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof NetworkState)) {
|
|
return false;
|
|
}
|
|
NetworkState networkState = (NetworkState) obj;
|
|
return this.isConnected == networkState.isConnected && this.isValidated == networkState.isValidated && this.isMetered == networkState.isMetered && this.isNotRoaming == networkState.isNotRoaming;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((Boolean.hashCode(this.isConnected) * 31) + Boolean.hashCode(this.isValidated)) * 31) + Boolean.hashCode(this.isMetered)) * 31) + Boolean.hashCode(this.isNotRoaming);
|
|
}
|
|
|
|
public final boolean isConnected() {
|
|
return this.isConnected;
|
|
}
|
|
|
|
public final boolean isMetered() {
|
|
return this.isMetered;
|
|
}
|
|
|
|
public final boolean isNotRoaming() {
|
|
return this.isNotRoaming;
|
|
}
|
|
|
|
public final boolean isValidated() {
|
|
return this.isValidated;
|
|
}
|
|
|
|
public String toString() {
|
|
return "NetworkState(isConnected=" + this.isConnected + ", isValidated=" + this.isValidated + ", isMetered=" + this.isMetered + ", isNotRoaming=" + this.isNotRoaming + ')';
|
|
}
|
|
|
|
public NetworkState(boolean z, boolean z2, boolean z3, boolean z4) {
|
|
this.isConnected = z;
|
|
this.isValidated = z2;
|
|
this.isMetered = z3;
|
|
this.isNotRoaming = z4;
|
|
}
|
|
}
|