GetJedi/app/src/main/java/edu/getjedi/frontend/mobile/MainMapActivity.java
@Override
    protected void onStop(){
        super.onStop();
        if(appContext.getUser() != null){
            memory.save(appContext.getUser());
        }else{
            memory.clean();
        }
    }
/**
     * Application sent to background or is closing.
     */
Application sent to background or is closing.
Application sent to background or is closing .
@Override
    protected void onStop(){
        super.onStop();
        if(appContext.getUser() != null){
            memory.save(appContext.getUser());
        }else{
            memory.clean();
        }
    }
@ Override protected void onStop ( ) { super . onStop ( ) ; if ( appContext . getUser ( ) != null ) { memory . save ( appContext . getUser ( ) ) ; } else { memory . clean ( ) ; } }
Application sent to background or is closing.
Application sent to background or is closing .