From f2d447aeea56e51e4f96a208aa80904abf86c221 Mon Sep 17 00:00:00 2001 From: misaochan Date: Sat, 13 Aug 2016 18:57:12 +1200 Subject: [PATCH] Remove comments --- .../main/java/fr/free/nrw/commons/auth/LoginActivity.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java b/app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java index c4320c399..c5f8204e1 100644 --- a/app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java @@ -94,9 +94,7 @@ public class LoginActivity extends AccountAuthenticatorActivity { // FIXME: If the user turns it off, it shouldn't be auto turned back on ContentResolver.setSyncAutomatically(account, ContributionsContentProvider.AUTHORITY, true); // Enable sync by default! ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default! - - //FIXME: This is supposed to return user to ContributionsActivity (launcher activity), but is instead taking users back to SignupActivity - //context.finish(); + Intent intent = new Intent(context, ContributionsActivity.class); startActivity(intent); @@ -250,8 +248,6 @@ public class LoginActivity extends AccountAuthenticatorActivity { //Called when Sign Up button is clicked public void signUp(View view) { Intent intent = new Intent(this, SignupActivity.class); - // FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS - //intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); startActivity(intent); } }