String fixes for the credential storage and vpn settings.
* Changes
+ Shorten the messages for both set-password and enter-password dialogs
when other activities access the credential storage.
Patch Set 2:
+ Fix the capital issue in the vpn error messages.
+ Add separate strings for terms used in the error messages.
+ Modify related src files that use those terms.
This commit is contained in:
@@ -85,10 +85,10 @@ class VpnProfileEditor {
|
||||
* null if all the inputs are valid
|
||||
*/
|
||||
public String validate() {
|
||||
String result = validate(mName, R.string.vpn_name);
|
||||
String result = validate(mName, R.string.vpn_a_name);
|
||||
return ((result != null)
|
||||
? result
|
||||
: validate(mServerName, R.string.vpn_vpn_server));
|
||||
: validate(mServerName, R.string.vpn_a_vpn_server));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user