Fix whitespace

This commit is contained in:
misaochan 2016-08-13 18:57:46 +12:00
parent f2d447aeea
commit 802ad139bb

View file

@ -77,7 +77,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
Bundle extras = context.getIntent().getExtras(); Bundle extras = context.getIntent().getExtras();
if (extras != null) { if (extras != null) {
Log.d("LoginActivity", "Bundle of extras: " + extras.toString()); Log.d("LoginActivity", "Bundle of extras: " + extras.toString());
if (accountCreated) { // Pass the new account back to the account manager if (accountCreated) { // Pass the new account back to the account manager
@ -94,11 +93,10 @@ public class LoginActivity extends AccountAuthenticatorActivity {
// FIXME: If the user turns it off, it shouldn't be auto turned back on // 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, ContributionsContentProvider.AUTHORITY, true); // Enable sync by default!
ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default! ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default!
Intent intent = new Intent(context, ContributionsActivity.class); Intent intent = new Intent(context, ContributionsActivity.class);
startActivity(intent); startActivity(intent);
} else { } else {
int response; int response;
if(result.equals("NetworkFailure")) { if(result.equals("NetworkFailure")) {
@ -121,7 +119,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
Toast.makeText(getApplicationContext(), response, Toast.LENGTH_LONG).show(); Toast.makeText(getApplicationContext(), response, Toast.LENGTH_LONG).show();
dialog.cancel(); dialog.cancel();
} }
} }
@Override @Override
@ -150,7 +147,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
return "NetworkFailure"; return "NetworkFailure";
} }
} }
} }
@Override @Override