Skip to content

Commit

Permalink
Don't launch login screen w/ single top flag
Browse files Browse the repository at this point in the history
  • Loading branch information
philomates committed Jan 21, 2016
1 parent 41f41cd commit 375461f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static void registerSessionExpiration() {
*/
private static void letHomeScreenRedirectToLogin(Context context) {
Intent i = new Intent(context.getApplicationContext(), CommCareHomeActivity.class);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
context.startActivity(i);
}
}

0 comments on commit 375461f

Please sign in to comment.