mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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();
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue