From fffc5936b908cd12c93c25aa83ac61426b01500f Mon Sep 17 00:00:00 2001 From: Samuel Tan Date: Thu, 21 Jan 2016 14:59:53 -0800 Subject: [PATCH] Disable configuring EAP-TLS without user certificate. Disallow configuring EAP-TLS without a user certificate, since this is probably an invalid configuration. Also: - change the wording of the default option for EAP CA and user certificates from "(unspecified)" to "Please select", to make it obvious that a choice needs to be made to proceed. - Fix style issues found in WifiConfigController.java by checkstyle.py. BUG: 26686071 Change-Id: I7ccfdf40db97328e3297a03cc43033ff2428980f TEST: Save option is grayed out when configuring EAP-TLS network TEST: while leaving "User Certificate" left at "Please select". --- res/values/strings.xml | 2 +- .../settings/wifi/WifiConfigController.java | 138 +++++++++--------- 2 files changed, 74 insertions(+), 66 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 364a2ea9701..f36999796ba 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1636,7 +1636,7 @@ (unchanged) - (unspecified) + Please select (Multiple certificates added)