一键连

1.选择节点冗余
This commit is contained in:
level 2025-12-11 17:05:01 +08:00
parent 81b7fcdb49
commit b130f2e92f
1 changed files with 0 additions and 12 deletions

View File

@ -91,7 +91,6 @@ class NodeGroupActivity : BaseActivity(){
cacheNodeStr = MMKV.defaultMMKV().decodeString(BZYConstants.NODE_All_ITEM_NAME_KEY, "")
val intentFilter = IntentFilter(Intents.ACTION_NODE_LIST)
intentFilter.addAction(Intents.ACTION_SUB_HTTP_STATUS)
broadcastReceiver = NodeListBR()
if (Build.VERSION.SDK_INT >= 34 && applicationInfo.targetSdkVersion >= 34) {
registerReceiver(
@ -215,17 +214,6 @@ class NodeGroupActivity : BaseActivity(){
setNewData(currentNode)
swipeLayout.isRefreshing = false
}
Intents.ACTION_SUB_HTTP_STATUS->{
val codeMsg= intent.getIntExtra("code",200)
val exceptionStr = intent.getSerializableExtra("exception")
Log.i("NODEPage ACTION_SUB_HTTP_STATUS codeMsg::${codeMsg} exceptionStr::${exceptionStr}")
if(codeMsg!=200){
RxToast.info(resources.getString(R.string.SubscriptionlinkTop))
}
timerJob?.cancel()
hideLoading()
}
else -> {
}