OSDN Git Service

Disable configuring EAP-TLS without user certificate.
authorSamuel Tan <samueltan@google.com>
Thu, 21 Jan 2016 22:59:53 +0000 (14:59 -0800)
committerSamuel Tan <samueltan@google.com>
Wed, 27 Jan 2016 01:23:11 +0000 (17:23 -0800)
commit933b6ed98fc2209c57e067fcfec21791497f7811
tree01240af1df74d2f7402ea027c512abafaf72a95b
parent30e812b7317d5f7e6eb6ca28c02c016e6b3cbf7e
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
src/com/android/settings/wifi/WifiConfigController.java