Fix typo in settings.
This was causing a crash in settings when opening an incoming settings fragment after initial setup. Change-Id: Icedd24a3f5e8f378d6725a09c97525450ef74af7
This commit is contained in:
parent
c5bbf134ea
commit
ee97468feb
@ -546,7 +546,7 @@ public class AccountSettings extends PreferenceActivity {
|
||||
AccountSettingsFragment asf = (AccountSettingsFragment) f;
|
||||
asf.setCallback(mAccountSettingsFragmentCallback);
|
||||
} else if (f instanceof AccountServerBaseFragment) {
|
||||
AccountServerBaseFragment asbf = (AccountServerBaseFragment) mCurrentFragment;
|
||||
AccountServerBaseFragment asbf = (AccountServerBaseFragment) f;
|
||||
asbf.setCallback(mAccountServerSettingsFragmentCallback);
|
||||
} else {
|
||||
// Possibly uninteresting fragment, such as a dialog.
|
||||
|
Loading…
Reference in New Issue
Block a user