Make AccountSettings implement callbacks for check settings dialog
b/14120112 Change-Id: I9834a772e90d2d13f16a84a70651286759bc9dbc
This commit is contained in:
parent
6529f2c99d
commit
1c594b8050
@ -41,6 +41,7 @@ import android.view.MenuItem;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.email.R;
|
||||
import com.android.email.activity.setup.CheckSettingsProgressDialogFragment;
|
||||
import com.android.email.provider.EmailProvider;
|
||||
import com.android.emailcommon.Logging;
|
||||
import com.android.emailcommon.provider.Account;
|
||||
@ -73,7 +74,7 @@ import java.util.List;
|
||||
public class AccountSettings extends PreferenceActivity implements
|
||||
SetupDataFragment.SetupDataContainer, SecurityRequiredDialogFragment.Callback,
|
||||
CheckSettingsErrorDialogFragment.Callback, AccountCheckSettingsFragment.Callback,
|
||||
AccountServerBaseFragment.Callback {
|
||||
AccountServerBaseFragment.Callback, CheckSettingsProgressDialogFragment.Callback {
|
||||
/*
|
||||
* Intent to open account settings for account=1
|
||||
adb shell am start -a android.intent.action.EDIT \
|
||||
@ -673,6 +674,11 @@ public class AccountSettings extends PreferenceActivity implements
|
||||
.commit();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCheckSettingsProgressDialogCancel() {
|
||||
dismissCheckSettingsFragment();
|
||||
}
|
||||
|
||||
/**
|
||||
* After verifying a new server configuration as OK, we return here and continue. This kicks
|
||||
* off the save process.
|
||||
|
Loading…
Reference in New Issue
Block a user