From 933b6ed98fc2209c57e067fcfec21791497f7811 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 | 142 +++++++++++---------- 2 files changed, 76 insertions(+), 68 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 120e074ed0..c9cb70de44 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1581,7 +1581,7 @@ (unchanged) - (unspecified) + Please select (Multiple certificates added)