Files
rr3-apk/decompiled-community/sources/androidx/work/ForegroundInfo.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

57 lines
1.7 KiB
Java

package androidx.work;
import android.app.Notification;
import androidx.annotation.NonNull;
/* loaded from: classes.dex */
public final class ForegroundInfo {
private final int mForegroundServiceType;
private final Notification mNotification;
private final int mNotificationId;
public int getForegroundServiceType() {
return this.mForegroundServiceType;
}
@NonNull
public Notification getNotification() {
return this.mNotification;
}
public int getNotificationId() {
return this.mNotificationId;
}
public ForegroundInfo(int i, @NonNull Notification notification) {
this(i, notification, 0);
}
public ForegroundInfo(int i, @NonNull Notification notification, int i2) {
this.mNotificationId = i;
this.mNotification = notification;
this.mForegroundServiceType = i2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || ForegroundInfo.class != obj.getClass()) {
return false;
}
ForegroundInfo foregroundInfo = (ForegroundInfo) obj;
if (this.mNotificationId == foregroundInfo.mNotificationId && this.mForegroundServiceType == foregroundInfo.mForegroundServiceType) {
return this.mNotification.equals(foregroundInfo.mNotification);
}
return false;
}
public int hashCode() {
return (((this.mNotificationId * 31) + this.mForegroundServiceType) * 31) + this.mNotification.hashCode();
}
public String toString() {
return "ForegroundInfo{mNotificationId=" + this.mNotificationId + ", mForegroundServiceType=" + this.mForegroundServiceType + ", mNotification=" + this.mNotification + '}';
}
}