mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 894741 - [Buri][WIFI]State has no change when connect AP by WPS. r=mrbkap
This commit is contained in:
parent
cd5f96b1f7
commit
0ef294df59
@ -3205,6 +3205,7 @@ WifiWorker.prototype = {
|
|||||||
// hotspot status. Toggle settings to let gaia know that wifi hotspot
|
// hotspot status. Toggle settings to let gaia know that wifi hotspot
|
||||||
// is enabled.
|
// is enabled.
|
||||||
this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED] = true;
|
this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED] = true;
|
||||||
|
this._oldWifiTetheringEnabledState = true;
|
||||||
gSettingsService.createLock().set(
|
gSettingsService.createLock().set(
|
||||||
SETTINGS_WIFI_TETHERING_ENABLED, true, null, "fromInternalSetting");
|
SETTINGS_WIFI_TETHERING_ENABLED, true, null, "fromInternalSetting");
|
||||||
// Check for the next request.
|
// Check for the next request.
|
||||||
@ -3216,6 +3217,7 @@ WifiWorker.prototype = {
|
|||||||
// hotspot status. Toggle settings to let gaia know that wifi hotspot
|
// hotspot status. Toggle settings to let gaia know that wifi hotspot
|
||||||
// is disabled.
|
// is disabled.
|
||||||
this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED] = false;
|
this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED] = false;
|
||||||
|
this._oldWifiTetheringEnabledState = false;
|
||||||
gSettingsService.createLock().set(
|
gSettingsService.createLock().set(
|
||||||
SETTINGS_WIFI_TETHERING_ENABLED, false, null, "fromInternalSetting");
|
SETTINGS_WIFI_TETHERING_ENABLED, false, null, "fromInternalSetting");
|
||||||
// Check for the next request.
|
// Check for the next request.
|
||||||
@ -3333,6 +3335,7 @@ WifiWorker.prototype = {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this._oldWifiTetheringEnabledState = this.tetheringSettings[SETTINGS_WIFI_TETHERING_ENABLED];
|
||||||
this.handleWifiTetheringEnabled(aResult)
|
this.handleWifiTetheringEnabled(aResult)
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user