I pass value to the service like this
MyService.user = new ChatUser(task.getResult().getUser().getUid(),task.getResult().getUser().getDisplayName(), task.getResult().getUser().getEmail(), password, true, "");
                        Intent intent = new Intent(Login.this, MyService.class);
                        startService(intent);
When destroying the application the service keeps running with flag START_REDELIVER_INTENT but the user that I passed it becomes null
How to keeps the value from returning to null
 
    