Tidy warnings in AccountSettingsFragment

Change-Id: I933529dac9f37d0734fa7b98a43e8f41eb143698
This commit is contained in:
Tony Mantler 2013-09-05 11:00:06 -07:00
parent 4df0d993b6
commit 39f29d0481
1 changed files with 6 additions and 6 deletions

View File

@ -141,7 +141,6 @@ public class AccountSettingsFragment extends PreferenceFragment
private Ringtone mRingtone;
private AccountPreferences mAccountPreferences;
private FolderPreferences mInboxFolderPreferences;
/** The e-mail of the account being edited. */
@ -338,9 +337,9 @@ public class AccountSettingsFragment extends PreferenceFragment
/**
* Listen to all preference changes in this class.
* @param preference
* @param newValue
* @return
* @param preference The changed Preference
* @param newValue The new value of the Preference
* @return True to update the state of the Preference with the new value
*/
@Override
public boolean onPreferenceChange(Preference preference, Object newValue){
@ -581,12 +580,13 @@ public class AccountSettingsFragment extends PreferenceFragment
folderCursor.close();
}
mAccountPreferences = new AccountPreferences(mContext, mUiAccount.name);
final AccountPreferences accountPreferences =
new AccountPreferences(mContext, mUiAccount.name);
mInboxFolderPreferences =
new FolderPreferences(mContext, mUiAccount.name, folder, true);
NotificationUtils.moveNotificationSetting(
mAccountPreferences, mInboxFolderPreferences);
accountPreferences, mInboxFolderPreferences);
final String ringtoneUri = mInboxFolderPreferences.getNotificationRingtoneUri();
if (!TextUtils.isEmpty(ringtoneUri)) {