Open developeromI89 opened 7 years ago
Activity stacks not cleared when call this. Intent intentStart =new Intent(CurrentActiivty.this, LoginActivity.class); intentStart.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity( intentStart);
It is logout if I am doing any touch event for more than 1 min still it is loggingout
Activity stacks not cleared when call this. Intent intentStart =new Intent(CurrentActiivty.this, LoginActivity.class); intentStart.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity( intentStart);