feat:【光环助手】设备信息显示 https://jira.shanqu.cc/browse/GHZSCY-6578
This commit is contained in:
@ -72,6 +72,7 @@ android_build:
|
||||
only:
|
||||
- dev
|
||||
- release
|
||||
- feat/GHZSCY-6578
|
||||
|
||||
# 代码检查
|
||||
sonarqube_analysis:
|
||||
@ -157,3 +158,4 @@ oss-upload&send-email:
|
||||
only:
|
||||
- dev
|
||||
- release
|
||||
- feat/GHZSCY-6578
|
||||
@ -62,16 +62,14 @@ class AboutFragment : ToolbarFragment() {
|
||||
ARouter.getInstance().build(RouteConsts.provider.updateManager).navigation() as? IUpdateManagerProvider
|
||||
updateManager?.checkUpdate(requireActivity(), true) // 检查更新
|
||||
|
||||
if (PackageFlavorHelper.IS_TEST_FLAVOR) {
|
||||
var clickCount = 0
|
||||
mBinding.aboutGhIcon.setOnClickListener {
|
||||
if (clickCount == 5) {
|
||||
mBinding.aboutGhIcon.setOnClickListener(null)
|
||||
mBinding.deviceContent.visibility = View.VISIBLE
|
||||
mBinding.deviceContent.text.toString().copyTextAndToast("复制成功!")
|
||||
} else {
|
||||
clickCount++
|
||||
}
|
||||
var clickCount = 0
|
||||
mBinding.aboutGhIcon.setOnClickListener {
|
||||
if (clickCount == 5) {
|
||||
mBinding.aboutGhIcon.setOnClickListener(null)
|
||||
mBinding.deviceContent.visibility = View.VISIBLE
|
||||
mBinding.deviceContent.text.toString().copyTextAndToast("复制成功!")
|
||||
} else {
|
||||
clickCount++
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -131,6 +131,7 @@ class ComposeAboutActivity : ComposeBaseActivity() {
|
||||
}
|
||||
},
|
||||
onPress = {
|
||||
if (deviceContent.isNotEmpty()) return@detectTapGestures
|
||||
if (clickCount == 5) {
|
||||
val sb = StringBuilder()
|
||||
val meta = MetaUtil.getMeta()
|
||||
|
||||
Reference in New Issue
Block a user