alexandroid/decompiled/jadx/sources/androidx/work/ForegroundInfo.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

58 lines
1.9 KiB
Java

package androidx.work;
import android.app.Notification;
import androidx.annotation.NonNull;
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes14.dex */
public final class ForegroundInfo {
private final int mForegroundServiceType;
private final Notification mNotification;
private final int mNotificationId;
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 getForegroundServiceType() {
return this.mForegroundServiceType;
}
@NonNull
public Notification getNotification() {
return this.mNotification;
}
public int getNotificationId() {
return this.mNotificationId;
}
public int hashCode() {
return this.mNotification.hashCode() + (((this.mNotificationId * 31) + this.mForegroundServiceType) * 31);
}
public String toString() {
return "ForegroundInfo{mNotificationId=" + this.mNotificationId + ", mForegroundServiceType=" + this.mForegroundServiceType + ", mNotification=" + this.mNotification + AbstractJsonLexerKt.END_OBJ;
}
public ForegroundInfo(int i, @NonNull Notification notification) {
this(i, notification, 0);
}
}