Merge "Correctly initialize the authentication view" into ub-mail-algol
This commit is contained in:
commit
2172ac410a
@ -605,7 +605,6 @@ public class AccountSetupIncomingFragment extends AccountServerBaseFragment
|
||||
|
||||
@Override
|
||||
public void onCertificateRequested() {
|
||||
// XXX reimplement
|
||||
final Intent intent = new Intent(CertificateRequestor.ACTION_REQUEST_CERT);
|
||||
intent.setData(Uri.parse("eas://com.android.emailcommon/certrequest"));
|
||||
startActivityForResult(intent, CERTIFICATE_REQUEST);
|
||||
|
@ -281,6 +281,8 @@ public class AccountSetupOutgoingFragment extends AccountServerBaseFragment
|
||||
*/
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
final HostAuth sendAuth = mSetupData.getAccount().getOrCreateHostAuthSend(mAppContext);
|
||||
mAuthenticationView.setAuthInfo(true, sendAuth);
|
||||
final int visibility = isChecked ? View.VISIBLE : View.GONE;
|
||||
UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings, visibility);
|
||||
UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings_2, visibility);
|
||||
|
Loading…
Reference in New Issue
Block a user