...
This commit is contained in:
parent
86f387b2fa
commit
2ed5957365
@ -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)
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user