content: package androidx.work;
  
  import android.app.Notification;
  
  public final class ForegroundInfo {
      private final int mForegroundServiceType;
      private final Notification mNotification;
      private final int mNotificationId;
  
      public ForegroundInfo(int notificationId, Notification notification) {
          this(notificationId, notification, 0);
      }
  
      public ForegroundInfo(int notificationId, Notification notification, int foregroundServiceType) {
          this.mNotificationId = notificationId;
          this.mNotification = notification;
          this.mForegroundServiceType = foregroundServiceType;
      }
  
      public boolean equals(Object o) {
          if (this == o) {
              return true;
          }
          if (o == null || getClass() != o.getClass()) {
              return false;
          }
          ForegroundInfo foregroundInfo = (ForegroundInfo) o;
          if (this.mNotificationId == foregroundInfo.mNotificationId && this.mForegroundServiceType == foregroundInfo.mForegroundServiceType) {
              return this.mNotification.equals(foregroundInfo.mNotification);
          }
          return false;
      }
  
      public int getForegroundServiceType() {
          return this.mForegroundServiceType;
      }
  
      public Notification getNotification() {
          return this.mNotification;
      }
  
      public int getNotificationId() {
          return this.mNotificationId;
      }
  
      public int hashCode() {
          return (((this.mNotificationId * 31) + this.mForegroundServiceType) * 31) + this.mNotification.hashCode();
      }
  
      public String toString() {
          StringBuilder sb = new StringBuilder("ForegroundInfo{");
          sb.append("mNotificationId=").append(this.mNotificationId);
          sb.append(", mForegroundServiceType=").append(this.mForegroundServiceType);
          sb.append(", mNotification=").append(this.mNotification);
          sb.append('}');
          return sb.toString();
      }
  }
  