Toggling hotspot on/off doesn't necessarily reflect in the indicator or system settings
Created by: zubozrout
- Device: MX4
- Channel: devel (any, even Canonical images)
- Build: r38
Steps to reproduce
- Toggle Hotspot on in the indicator area
- Go to System Settings → Hotspot and see it turned off (you can now toggle Hotspot on again)
- So do it - toggle the Hotspot on in System Settings, then off again and you can still see it turned on in the indicator area (since the Hotspot icon doesn't show up for me almost ever you can only tell by the switch turned on)
However, turning the Hotspot on in the System Settings app seems to be reflected in the indicator for me.
Expected behavoir
Reflect changes to the Hotspot state on both places: System Settings and Indicator area - ideally update those each time they are accessed or immediately if Hotspot is activated and indicator or System Settings visible (this does seem to work for the indicator if Hotspot is turned on via System Settings). Or at the very least check the state on accessing the Hotspot entry in System Settings or sliding down the network indicator pane.
Possibly relevant issue
This may be relevant to this bug as it seems as though there may be some updating error in the indicator itself not reporting correct Hotspot state to the relevant places: https://github.com/ubports/ubports-touch/issues/41
Thank you very much for looking into this.