@Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        Log.d(TAG, "onStartCommand: ");
        ThreadPool.post(() -> {
            try {
                URL url = new URL("https://www.v2ex.com/api/topics/latest.json");
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.getInputStream();
            } catch (MalformedURLException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            }
        });
        ApiService.HttpbinApi api = ApiService.getInstance();
        Callback<Void> cb = new Callback<Void>() {
            @Override
            public void onResponse(Call call, Response response) {
            }

            @Override
            public void onFailure(Call call, Throwable t) {
                t.printStackTrace();
            }
        };
        api.get().enqueue(cb);
        return super.onStartCommand(intent, flags, startId);
    }
This service is used to test the behaviors of Pandora in multiple processes
app/src/main/java/tech/linjiang/android/pandora/RemoteService.java