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

Skip to content
Commit 60e57143 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Missing Forget button after doing Add Network on an AP in the scanned list

Problem:

On the Wifi Settings screen, if instead of clicking on the AP shown on the scanned list, we do an "Add Wi-Fi network" and enter the AP information - the AP information gets stored and the client device connects to the AP. Afterwards, if we click on the AP again the "Forget" button does not appear until we exit the Wifi Settings screen and return.

Root cause and Fix:
mApScanList in WifiLayer tracks the list of APs shown. Upon doing a connect through a direct click, the configured state for the AP in the list updated. However, if we do an Add Network, the configured state on mApScanList remains unupdated. This causes the Settings screen to not show "Forget" for the AP when it is clicked.

The fix is to set the Configured state to true in handleSave() by fetching the AP state stored in WifiLayer.

Bug: 2296038
Change-id: I70c545905a4984a03a0f235f3baf17cd36688710
parent 6c01d130
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment