Fix VPN settings UI to validate IPsec Identifier

This change ensures that the updateUiControls() (and validate()
transitively) is called whenever the IPsec identifier is updated.

Bug: 152811464
Test: Manual testing with settings UI
Change-Id: I6536652a60244c3fde3f65211f9d0709145c6cd9
This commit is contained in:
Benedict Wong
2020-04-07 11:34:46 -07:00
parent 6bd382b85f
commit 1c69a8282c

View File

@@ -173,6 +173,7 @@ class ConfigDialog extends AlertDialog implements TextWatcher,
mProxySettings.setOnItemSelectedListener(this);
mProxyHost.addTextChangedListener(this);
mProxyPort.addTextChangedListener(this);
mIpsecIdentifier.addTextChangedListener(this);
mIpsecSecret.addTextChangedListener(this);
mIpsecUserCert.setOnItemSelectedListener(this);
mShowOptions.setOnClickListener(this);