package mindpop.learnpop;

import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.os.Handler;

import com.facebook.*;


/**
 * Created by montselozanod on 3/23/15.
 */
public class SpashScreen extends Activity{

    //screen timer
    private static int SPASH_TIME_OUT = 3000;
    private SessionManagement session;

    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_spash);

        new Handler().postDelayed(new Runnable(){
            @Override
            public void run(){
                session = new SessionManagement(getApplicationContext());
                session.checkLogin();
                finish();
            }
        }, SPASH_TIME_OUT);
    }
}

@@ -316,24 +316,26 @@
 = 3000;%0A    
+//
 private Sess
@@ -357,16 +357,16 @@
 ession;%0A
-
 %0A    @Ov
@@ -524,290 +524,15 @@
 );%0A%0A
+
        
- new Handler().postDelayed(new Runnable()%7B%0A            @Override%0A            public void run()%7B%0A                session = new SessionManagement(getApplicationContext());%0A                session.checkLogin();%0A                finish();%0A            %7D%0A        %7D, SPASH_TIME_OUT);
 %0A   

delete session management uses