desc:告警数据界面

main
xiaowusky 2 years ago
parent 841ed264dc
commit ee664206d7

@ -45,7 +45,7 @@ object SimHelper {
private fun watchSimRssi(context: Context) {
val tm = context.getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager
//获取指定卡槽的信号强度
val info = getNewerSlotSubscriptionInfo(context, 1)
val info = getNewerSlotSubscriptionInfo(context, 0)
info?.let {
val mTelephonyManagerForSubscriptionId =
tm.createForSubscriptionId(info!!.subscriptionId)

Loading…
Cancel
Save