mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix whitespace
This commit is contained in:
parent
f2d447aeea
commit
802ad139bb
1 changed files with 1 additions and 5 deletions
|
|
@ -77,7 +77,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
|||
|
||||
Bundle extras = context.getIntent().getExtras();
|
||||
|
||||
|
||||
if (extras != null) {
|
||||
Log.d("LoginActivity", "Bundle of extras: " + extras.toString());
|
||||
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
|
||||
ContentResolver.setSyncAutomatically(account, ContributionsContentProvider.AUTHORITY, true); // Enable sync by default!
|
||||
ContentResolver.setSyncAutomatically(account, ModificationsContentProvider.AUTHORITY, true); // Enable sync by default!
|
||||
|
||||
|
||||
Intent intent = new Intent(context, ContributionsActivity.class);
|
||||
startActivity(intent);
|
||||
|
||||
|
||||
} else {
|
||||
int response;
|
||||
if(result.equals("NetworkFailure")) {
|
||||
|
|
@ -121,7 +119,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
|||
Toast.makeText(getApplicationContext(), response, Toast.LENGTH_LONG).show();
|
||||
dialog.cancel();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -150,7 +147,6 @@ public class LoginActivity extends AccountAuthenticatorActivity {
|
|||
return "NetworkFailure";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue