app登录超时,重新登录账号跳转至首页
packageManager.getLaunchIntentForPackage(packageName)?.apply{
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK)
startActivity(this)
}
app登录超时,重新登录账号跳转至首页
packageManager.getLaunchIntentForPackage(packageName)?.apply{
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK)
startActivity(this)
}
本文标题:kotlin重启APP
本文链接:https://www.haomeiwen.com/subject/odlnxdtx.html
网友评论