Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -110,7 +110,9 @@ define(function(require) {
// Set wifi.enabled so that it mirrors the state of the hardware.
// wifi.enabled is not an ordinary user setting because the system
// turns it on and off when wifi goes up and down.
settings.createLock().set({'wifi.enabled': wifiManager.enabled});
if (!window.VulpesNativeWifi) {
settings.createLock().set({'wifi.enabled': wifiManager.enabled});
}
this._bindEvents();
@ -372,6 +374,12 @@ define(function(require) {
* @param {Function} callback
*/
_syncWifiEnabled: function(enabled, callback) {
// Tundra System owns the radio switch. A delayed Settings poll must
// not undo a more recent request from the switch or notification shade.
if (window.VulpesNativeWifi) {
callback();
return;
}
SettingsCache.getSettings(function(results) {
var wifiEnabled = results['wifi.enabled'];
if (wifiEnabled !== enabled) {