Skip to content

Commit

Permalink
demo中显示xp2p版本
Browse files Browse the repository at this point in the history
Change-Id: I1de543350ac765ac3bc1c665edeeca6c929dee3a
(cherry picked from commit 0357e84)
  • Loading branch information
archurtan committed Sep 18, 2021
1 parent 4730806 commit 20101a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.core.app.ActivityCompat
import com.tencent.iot.explorer.link.demo.common.log.L
import com.tencent.iot.explorer.link.demo.common.util.Watermark
import com.tencent.iot.explorer.link.demo.core.activity.MainActivity
import com.tencent.xnet.XP2P

/**
* baseActivity
Expand Down Expand Up @@ -57,7 +58,7 @@ abstract class BaseActivity : AppCompatActivity() {
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
//在setContentView()后调用
startHere()
Watermark.getInstance().show(this, BuildConfig.SDKDemoCommitID)
Watermark.getInstance().show(this, BuildConfig.SDKDemoCommitID + " xp2p: " + XP2P.getVersion())
}

override fun onResume() {
Expand Down

0 comments on commit 20101a7

Please sign in to comment.