@Override
            public void onReceive(Context unused, Intent intent) {
              moreWorkFuture.set(
                  getResultExtras(/* makeMap= */ true).getBoolean(EXTRA_MORE_WORK_REMAINING));
            }
A JobService that's configured via the manifest to run in a different process.
jobdispatcher/src/testLib/com/firebase/jobdispatcher/WorkerProcessTestJobService.java