private void checkTimeoutSession() {
        if(appLastSeen <= 0) return;
        long now = System.currentTimeMillis();
        if ((now - appLastSeen) > Constants.SESSION_LENGTH_MINS * 60 * 1000) {
            getConfigLogger().verbose(getAccountId(), "Session Timed Out");
            destroySession();
            setCurrentActivity(null);
        }
    }
private void checkTimeoutSession ( ) { if ( appLastSeen <= 0 ) return ; long now = System . currentTimeMillis ( ) ; if ( ( now - appLastSeen ) > Constants . SESSION_LENGTH_MINS * 60 * 1000 ) { getConfigLogger ( ) . verbose ( getAccountId ( ) , "Session Timed Out" ) ; destroySession ( ) ; setCurrentActivity ( null ) ; } }
SessionManager/session management