diff options
| author | 2022-05-17 17:46:33 +0800 | |
|---|---|---|
| committer | 2022-05-17 17:55:28 +0800 | |
| commit | e4e93991f3ea911a79df5aaed8fd3c544beac4a3 (patch) | |
| tree | ccc9796237577c1c1ae0a90b44296c7b9d7f0ff7 /api/api.go | |
| parent | 9568bd96c189b6f4a3ee44cdf9bc75e6f4e09d8e (diff) | |
Fix Wi-Fi level out of range crash
- If the Wi-Fi level is less than the minimum level, use the minimum
level instead.
- If the Wi-Fi level is greater than the maximum level, use the
maximum level instead.
Bug: 230457323
Test: manual test
make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiUtilsTest
Change-Id: I7ec748ac200a7930ea08604ecf9cece6fcbfbb86
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions