Skip to content

Commit b567942

Browse files
author
archurtan
committed
demo中显示xp2p版本
Change-Id: I1de543350ac765ac3bc1c665edeeca6c929dee3a (cherry picked from commit 0357e84)
1 parent e4e3ae5 commit b567942

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdkdemo/src/main/java/com/tencent/iot/explorer/link/demo/BaseActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import androidx.core.app.ActivityCompat
1212
import com.tencent.iot.explorer.link.demo.common.log.L
1313
import com.tencent.iot.explorer.link.demo.common.util.Watermark
1414
import com.tencent.iot.explorer.link.demo.core.activity.MainActivity
15+
import com.tencent.xnet.XP2P
1516

1617
/**
1718
* baseActivity
@@ -57,7 +58,7 @@ abstract class BaseActivity : AppCompatActivity() {
5758
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
5859
//在setContentView()后调用
5960
startHere()
60-
Watermark.getInstance().show(this, BuildConfig.SDKDemoCommitID)
61+
Watermark.getInstance().show(this, BuildConfig.SDKDemoCommitID + " xp2p: " + XP2P.getVersion())
6162
}
6263

6364
override fun onResume() {

0 commit comments

Comments
 (0)