am f90dbc83
: Strings aren\'t Integers
* commit 'f90dbc83e2853717a3470f8e530a8a7e1c58b2e6': Strings aren't Integers
This commit is contained in:
commit
299aac4a24
@ -347,7 +347,7 @@ public class AccountSettingsFragment extends MailAccountPrefsFragment
|
||||
// numeric value we have stored says.
|
||||
final android.accounts.Account androidAcct = new android.accounts.Account(
|
||||
mAccount.mEmailAddress, mServiceInfo.accountType);
|
||||
if ((Integer) newValue == Account.CHECK_INTERVAL_NEVER) {
|
||||
if (Integer.parseInt(summary) == Account.CHECK_INTERVAL_NEVER) {
|
||||
// Disable syncing from the account manager. Leave the current sync frequency
|
||||
// in the database.
|
||||
ContentResolver.setSyncAutomatically(androidAcct, EmailContent.AUTHORITY,
|
||||
|
Loading…
Reference in New Issue
Block a user