veloria 最终添加一个复制/ 7.9 commit
This commit is contained in:
parent
515198884a
commit
c8963d3527
@ -17,8 +17,8 @@ android {
|
|||||||
applicationId = "com.veloria.now.shortapp"
|
applicationId = "com.veloria.now.shortapp"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 12
|
versionCode = 13
|
||||||
versionName = "1.1.0"
|
versionName = "1.1.1"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
@ -1470,8 +1470,9 @@ object YFHome {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun copyToClipboard(context: Context, text: String, label: String = "Copied Text") {
|
fun copyToClipboard(context: Context, text: String, label: String = "Copied Text") {
|
||||||
|
val copyStr = "[QJ]".plus(text)
|
||||||
val clipboard = context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
val clipboard = context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||||
val clip = ClipData.newPlainText(label, text)
|
val clip = ClipData.newPlainText(label, copyStr)
|
||||||
clipboard.setPrimaryClip(clip)
|
clipboard.setPrimaryClip(clip)
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -285,6 +285,9 @@ class MQVAutoWidthActivity :
|
|||||||
if (binding.layoutRecommend.root.visibility == View.VISIBLE) {
|
if (binding.layoutRecommend.root.visibility == View.VISIBLE) {
|
||||||
bannerAdapter?.getCurrentPlayerView()?.pause()
|
bannerAdapter?.getCurrentPlayerView()?.pause()
|
||||||
}
|
}
|
||||||
|
if (isPlayAd) {
|
||||||
|
player?.pause()
|
||||||
|
}
|
||||||
}, 300)
|
}, 300)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user