Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f08ebe00 authored by David Su's avatar David Su
Browse files

Fix AccessPointPreferenceTest#refresh_openNetwork_updateContentDescription

AccessPoint now uses
WifiManager#calculateSignalLevel(rssi) instead of
WifiManager#calculateSignalLevel(rssi, numLevels).

WifiManager#calculateSignalLevel(rssi, numLevels)
previously redirected to
ShadowWifiManager#calculateSignalLevel(rssi, numLevels),
which always returned numLevels - 1 = 5 - 1 = 4.

WifiManager#calculateSignalLevel(rssi) is not
redirected by ShadowWifiManager, so it returns 0.
Fixed by updating the expected value of the assert.

Bug: 147703223
Test: make RunSettingsLibRoboTests -j40
Change-Id: Ief86fde8ced462e9e9cbb75af0b95c2f7ab26cdf
parent 2f269667
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment