This commit is contained in:
lunaticbum 2026-03-30 14:49:08 +09:00
parent 86f387b2fa
commit 2ed5957365
2 changed files with 9 additions and 7 deletions

View File

@ -594,9 +594,9 @@ class ForeGroundService : Service() {
val majorClass = device?.bluetoothClass?.majorDeviceClass
if (majorClass == BluetoothClass.Device.Major.AUDIO_VIDEO) {
Blog.LOGE("Audio Bluetooth Connected: ${device?.name ?: "Unknown"}")
if ("BUMz pod".equals(device?.name)) {
launchAppleMusic(context)
}
// if ("BUMz pod".equals(device?.name)) {
// launchAppleMusic(context)
// }
}
}

View File

@ -260,11 +260,13 @@ open class GeckoWeb @JvmOverloads constructor(
return
}
val cleanUrl = cleanYoutubeUrl(firstUrl) // ← 추가!
decoViews.firstOrNull { it.id == R.id.btn_dl_video }?.let {
it.setOnClickListener {}
it.visibility = GONE
CoroutineScope(Dispatchers.Main).launch {
decoViews.firstOrNull { it.id == R.id.btn_dl_video }?.let {
it.setOnClickListener {}
it.visibility = GONE
}
}
checkIfDownloadableJob?.cancelAndJoin()
checkIfDownloadableJob = CoroutineScope(Dispatchers.IO).launch {
try {