<NME> StatusUpdater.java
<BEF> package cgeo.geocaching.network;

import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.IConnector;
import cgeo.geocaching.settings.Settings;
import cgeo.geocaching.utils.AndroidRxUtils;
import cgeo.geocaching.utils.Log;
import cgeo.geocaching.utils.Version;

import android.app.Application;
import android.text.TextUtils;

import androidx.annotation.NonNull;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.TimeUnit;

import com.fasterxml.jackson.databind.node.ObjectNode;
import io.reactivex.rxjava3.subjects.BehaviorSubject;
import org.apache.commons.lang3.StringUtils;

public class StatusUpdater {

    /**
     * An observable with the successive status. Contains {@link Status#NO_STATUS} if there is no status to display.
     */
    public static final BehaviorSubject<Status> LATEST_STATUS = BehaviorSubject.createDefault(Status.defaultStatus(null));

    private StatusUpdater() {
        // Utility class
    }

    public static class Status {

        public static final Status NO_STATUS = new Status(null, null, null, null);
        private static final Status VERSION_DEPRECATED_STATUS =
                new Status("", "status_version_deprecated", "attribute_abandonedbuilding", "https://www.cgeo.org/faq");

        public final String message;
        public final String messageId;
        public final String icon;
        public final String url;

        private Status(final String message, final String messageId, final String icon, final String url) {
            this.message = message;
            this.messageId = messageId;
            this.icon = icon;
            this.url = url;
        }

        Status(final ObjectNode response) {
            message = response.path("message").asText(null);
            messageId = response.path("message_id").asText(null);
            icon = response.path("icon").asText(null);
            if (upToDate != null && upToDate.message != null) {
                return upToDate;
            }
            return VERSION.SDK_INT < VERSION_CODES.ECLAIR_MR1 ? CLOSEOUT_STATUS : NO_STATUS;
        }
    }

            }
            try {
                final String version = Version.getVersionName(CgeoApplication.getInstance());
                final int versionYear = Integer.parseInt(version.substring(0, 4));
                final int currentYear = Calendar.getInstance().get(Calendar.YEAR);
                if (versionYear < (currentYear - 1)) {
                    Log.d("Still running version from " + versionYear + " (version: " + version + ", system year: " + currentYear + ")");
                    return VERSION_DEPRECATED_STATUS;
                }
            } catch (NumberFormatException e) {
                // skip version check if no parseable number returned
            }
            return NO_STATUS;
        }
    }

    private static String getActiveConnectorsString() {
        final List<IConnector> activeConnectors = ConnectorFactory.getActiveConnectors();
        final List<String> activeConnectorsList = new ArrayList<>();
        for (final IConnector conn : activeConnectors) {
            try {
                activeConnectorsList.add(conn.getNameAbbreviated());
            } catch (IllegalStateException ignored) {
            }
        }
        return TextUtils.join(",", activeConnectorsList);
    }

    static {
        AndroidRxUtils.networkScheduler.schedulePeriodicallyDirect(() -> {
            final Application app = CgeoApplication.getInstance();
            final String installer = Version.getPackageInstaller(app);
            final Parameters installerParameters = StringUtils.isNotBlank(installer) ? new Parameters("installer", installer) : null;
            final Parameters gcMembershipParameters;
            if (Settings.isGCConnectorActive()) {
                gcMembershipParameters = new Parameters("gc_membership",
                        Settings.getGCMemberStatus().isPremium() ? "premium" : "basic");
            } else {
                gcMembershipParameters = null;
            }
            Network.requestJSON("https://status.cgeo.org/api/status.json",
                    Parameters.merge(new Parameters("version_code", String.valueOf(Version.getVersionCode(app)),
                                    "version_name", Version.getVersionName(app),
                                    "locale", Locale.getDefault().toString()), installerParameters, gcMembershipParameters,
                            new Parameters("active_connectors", getActiveConnectorsString())))
                    .subscribe(json -> LATEST_STATUS.onNext(Status.defaultStatus(new Status(json))), throwable -> {
                        // Error has already been signaled during the request
                    });
        }, 0, 1800, TimeUnit.SECONDS);
    }

}

<MSG> Update the closeout message and check for SDK 14

Related to #6174.

<DFF> @@ -59,7 +59,7 @@ public class StatusUpdater {
             if (upToDate != null && upToDate.message != null) {
                 return upToDate;
             }
-            return VERSION.SDK_INT < VERSION_CODES.ECLAIR_MR1 ? CLOSEOUT_STATUS : NO_STATUS;
+            return VERSION.SDK_INT < VERSION_CODES.ICE_CREAM_SANDWICH ? CLOSEOUT_STATUS : NO_STATUS;
         }
     }
 

Update the closeout message and check for SDK 14