commit | 092c0a1eaf32ddbc4f1824dcd8fefcda0c046a2a | [log] [tgz] |
---|---|---|
author | Hai Shalom <haishalom@google.com> | Mon Feb 24 09:42:36 2020 -0800 |
committer | Hai Shalom <haishalom@google.com> | Mon Feb 24 11:07:25 2020 -0800 |
tree | f107a85714542c258b9aba0b82b3b770359133b5 | |
parent | 345f6b2f2bdbfd76e9d8ca2fe3676ced97f65971 [diff] |
[Passpoint] Handle Base64 password decode exception Add exception handling, and use the password as-is if Base64 encoding is invalid. buildEnterpriseConfigForUserCredential method returns void and getWifiConfig that calls it must return a WifiConfiguration to the caller, so there is no better error handling. Bug: 140084568 Test: atest PasspointProviderTest Change-Id: I0f8b2302ae73203f3065fb228ebdc22d06d57703