Loading system/gd/rust/linux/stack/src/bluetooth.rs +3 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ use tokio::task::JoinHandle; use tokio::time; use crate::battery_service::BatteryServiceActions; use crate::bluetooth_admin::BluetoothAdmin; use crate::bluetooth_admin::{BluetoothAdmin, IBluetoothAdmin}; use crate::bluetooth_media::{BluetoothMedia, IBluetoothMedia, MediaActions}; use crate::callbacks::Callbacks; use crate::uuid::{Profile, UuidHelper, HOGP}; Loading Loading @@ -529,7 +529,8 @@ impl Bluetooth { }), }); self.toggle_enabled_profiles(&vec![]); let allowed_profiles = self.bluetooth_admin.lock().unwrap().get_allowed_services(); self.toggle_enabled_profiles(&allowed_profiles); // Mark profiles as ready self.profiles_ready = true; } Loading Loading
system/gd/rust/linux/stack/src/bluetooth.rs +3 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ use tokio::task::JoinHandle; use tokio::time; use crate::battery_service::BatteryServiceActions; use crate::bluetooth_admin::BluetoothAdmin; use crate::bluetooth_admin::{BluetoothAdmin, IBluetoothAdmin}; use crate::bluetooth_media::{BluetoothMedia, IBluetoothMedia, MediaActions}; use crate::callbacks::Callbacks; use crate::uuid::{Profile, UuidHelper, HOGP}; Loading Loading @@ -529,7 +529,8 @@ impl Bluetooth { }), }); self.toggle_enabled_profiles(&vec![]); let allowed_profiles = self.bluetooth_admin.lock().unwrap().get_allowed_services(); self.toggle_enabled_profiles(&allowed_profiles); // Mark profiles as ready self.profiles_ready = true; } Loading