mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-07 14:08:29 -04:00
committed by
GitHub
parent
7ab0e01573
commit
d379d251b9
@@ -256,9 +256,8 @@ Singleton {
|
|||||||
function getDevicePath(device) {
|
function getDevicePath(device) {
|
||||||
if (!device || !device.address) {
|
if (!device || !device.address) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
const adapterPath = adapter ? "/org/bluez/hci0" : "/org/bluez/hci0";
|
return device.dbusPath ?? "";
|
||||||
return `${adapterPath}/dev_${device.address.replace(/:/g, "_")}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function isAudioDevice(device) {
|
function isAudioDevice(device) {
|
||||||
|
|||||||
Reference in New Issue
Block a user