compat/src/main/java/androidx/core/app/JobIntentService.java
@Override
    public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
        if (mCompatQueue != null) {
            mCompatWorkEnqueuer.serviceStartReceived();
            if (DEBUG) Log.d(TAG, "Received compat start command #" + startId + ": " + intent);
            synchronized (mCompatQueue) {
                mCompatQueue.add(new CompatWorkItem(intent != null ? intent : new Intent(),
                        startId));
                ensureProcessorRunningLocked(true);
            }
            return START_REDELIVER_INTENT;
        } else {
            if (DEBUG) Log.d(TAG, "Ignoring start command: " + intent);
            return START_NOT_STICKY;
        }
    }
/**
     * Processes start commands when running as a pre-O service, enqueueing them to be
     * later dispatched in {@link #onHandleWork(Intent)}.
     */
Processes start commands when running as a pre-O service, enqueueing them to be
later dispatched in  #onHandleWork(Intent).
Processes start commands when running as a pre - O service enqueueing them to be later dispatched in #onHandleWork ( Intent ) .
@Override
    public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
        if (mCompatQueue != null) {
            mCompatWorkEnqueuer.serviceStartReceived();
            if (DEBUG) Log.d(TAG, "Received compat start command #" + startId + ": " + intent);
            synchronized (mCompatQueue) {
                mCompatQueue.add(new CompatWorkItem(intent != null ? intent : new Intent(),
                        startId));
                ensureProcessorRunningLocked(true);
            }
            return START_REDELIVER_INTENT;
        } else {
            if (DEBUG) Log.d(TAG, "Ignoring start command: " + intent);
            return START_NOT_STICKY;
        }
    }
@ Override public int onStartCommand ( @ Nullable Intent intent , int flags , int startId ) { if ( mCompatQueue != null ) { mCompatWorkEnqueuer . serviceStartReceived ( ) ; if ( DEBUG ) Log . d ( TAG , "Received compat start command #" + startId + ": " + intent ) ; synchronized ( mCompatQueue ) { mCompatQueue . add ( new CompatWorkItem ( intent != null ? intent : new Intent ( ) , startId ) ) ; ensureProcessorRunningLocked ( true ) ; } return START_REDELIVER_INTENT ; } else { if ( DEBUG ) Log . d ( TAG , "Ignoring start command: " + intent ) ; return START_NOT_STICKY ; } }
Processes start commands when running as a pre-O service, enqueueing them to be
 later dispatched in {@link #onHandleWork(Intent)}.
Processes start commands when running as a pre - O service enqueueing them to be later dispatched in { @link #onHandleWork ( Intent ) } .