work/workmanager/src/main/java/androidx/work/impl/utils/ForceStopRunnable.java
@VisibleForTesting
    public boolean isForceStopped() {
        // Alarms get cancelled when an app is force-stopped starting at Eclair MR1.
        // Cancelling of Jobs on force-stop was introduced in N-MR1 (SDK 25).
        // Even though API 23, 24 are probably safe, OEMs may choose to do
        // something different.
        PendingIntent pendingIntent = getPendingIntent(ALARM_ID, FLAG_NO_CREATE);
        if (pendingIntent == null) {
            setAlarm(ALARM_ID);
            return true;
        } else {
            return false;
        }
    }
/**
     * @return {@code true} If the application was force stopped.
     */
@return  true If the application was force stopped.
@return true If the application was force stopped .
@VisibleForTesting
    public boolean isForceStopped() {
        PendingIntent pendingIntent = getPendingIntent(ALARM_ID, FLAG_NO_CREATE);
        if (pendingIntent == null) {
            setAlarm(ALARM_ID);
            return true;
        } else {
            return false;
        }
    }
@ VisibleForTesting public boolean isForceStopped ( ) { PendingIntent pendingIntent = getPendingIntent ( ALARM_ID , FLAG_NO_CREATE ) ; if ( pendingIntent == null ) { setAlarm ( ALARM_ID ) ; return true ; } else { return false ; } }
@return {@code true} If the application was force stopped.
@return { @code true } If the application was force stopped .
// Alarms get cancelled when an app is force-stopped starting at Eclair MR1. // Cancelling of Jobs on force-stop was introduced in N-MR1 (SDK 25). // Even though API 23, 24 are probably safe, OEMs may choose to do // something different.