Hai Shalom 452d4ff8ff Fix WifiConfiguration#getAuthType
Fix WifiConfiguration#getAuthType and add unit tests. The root
cause for the crash is due to the outdated implementation of this
method. When adding a suggestion of a WPA2/3-Enterprise network
via the the ACTION_WIFI_ADD_NETWORKS action, Settings calls this
method. WPA2/3-Enterprise networks have more than 1 bit set in
the allowedKeyManagement bitset which the old implementation
treated as an error and threw an exception.

Bug: 169626258
Test: atest WifiConfigurationTest
Merged-In: I85796299f119b84781148c949d701d10da506dc2
Change-Id: I00e112388b392868b0aa9e0ccb8a9b72236bfa2c
2020-09-29 16:50:22 -07:00
2020-06-19 15:24:38 -07:00
2020-01-22 14:00:14 -08:00
2020-08-07 16:15:20 +00:00
…
…
2020-08-31 14:05:41 +09:00
2020-09-29 16:50:22 -07:00
2019-08-09 09:24:40 -07:00
2019-10-10 22:41:57 +00:00
2020-04-17 18:16:43 +01:00
2020-02-19 19:36:25 -08:00
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%