reversed changes on startup activity
This commit is contained in:
parent
c765ac0782
commit
5cabcde90b
@ -12,10 +12,9 @@ public class StartupActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
//uncomment for testin settings activity and comment the rest of onCreate body
|
||||
startActivity(new Intent(this, SharingActivity.class));
|
||||
|
||||
/* if (isLoggedIn()){
|
||||
|
||||
if (isLoggedIn()){
|
||||
Intent startupIntent = new Intent(this, MainActivity.class);
|
||||
startupIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
startActivity(startupIntent);
|
||||
@ -23,7 +22,7 @@ public class StartupActivity extends AppCompatActivity {
|
||||
} else {
|
||||
Intent loginIntent = new Intent(this, LoginActivity.class);
|
||||
startActivityForResult(loginIntent, AUTHENTICATION_REQUEST_CODE);
|
||||
}*/
|
||||
}
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
//to nie ma miec layoutu wiec elo
|
||||
|
Loading…
Reference in New Issue
Block a user