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 val majorClass = device?.bluetoothClass?.majorDeviceClass
if (majorClass == BluetoothClass.Device.Major.AUDIO_VIDEO) { if (majorClass == BluetoothClass.Device.Major.AUDIO_VIDEO) {
Blog.LOGE("Audio Bluetooth Connected: ${device?.name ?: "Unknown"}") Blog.LOGE("Audio Bluetooth Connected: ${device?.name ?: "Unknown"}")
if ("BUMz pod".equals(device?.name)) { // if ("BUMz pod".equals(device?.name)) {
launchAppleMusic(context) // launchAppleMusic(context)
} // }
} }
} }

View File

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