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

Commit 00bd8e95 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang Committed by Gerrit Code Review
Browse files

Merge "floss: SetName: Don't set the property if unchanged" into main

parents 4e9519ff 52d62ec3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2247,6 +2247,9 @@ impl IBluetooth for Bluetooth {
    }

    fn set_name(&self, name: String) -> bool {
        if self.get_name() == name {
            return true;
        }
        self.intf.lock().unwrap().set_adapter_property(BluetoothProperty::BdName(name)) == 0
    }