|
@@ -1,6 +1,7 @@
|
|
package com.wdkl.ncs.android.component.home.activity
|
|
package com.wdkl.ncs.android.component.home.activity
|
|
|
|
|
|
import android.Manifest
|
|
import android.Manifest
|
|
|
|
+import android.content.ComponentName
|
|
import android.content.Context
|
|
import android.content.Context
|
|
import android.content.Intent
|
|
import android.content.Intent
|
|
import android.content.IntentFilter
|
|
import android.content.IntentFilter
|
|
@@ -667,6 +668,8 @@ class WatchHome2Activity : BaseActivity<WatchHomeActivityPresenter, WatchActivit
|
|
state_linlyout.setOnClickListener(this)
|
|
state_linlyout.setOnClickListener(this)
|
|
other_linyout.setOnClickListener(this)
|
|
other_linyout.setOnClickListener(this)
|
|
channel_im_layout.setOnClickListener(this)
|
|
channel_im_layout.setOnClickListener(this)
|
|
|
|
+ ll_custom_view.setOnClickListener(this)
|
|
|
|
+
|
|
tv_register_ok.setOnClickListener {
|
|
tv_register_ok.setOnClickListener {
|
|
Log.d(TAG, "注册完成")
|
|
Log.d(TAG, "注册完成")
|
|
initTcp()
|
|
initTcp()
|
|
@@ -845,6 +848,12 @@ class WatchHome2Activity : BaseActivity<WatchHomeActivityPresenter, WatchActivit
|
|
}
|
|
}
|
|
clickTime = System.currentTimeMillis()
|
|
clickTime = System.currentTimeMillis()
|
|
}
|
|
}
|
|
|
|
+ R.id.ll_custom_view -> {
|
|
|
|
+ val intent = Intent(Intent.ACTION_MAIN)
|
|
|
|
+ intent.addCategory(Intent.CATEGORY_LAUNCHER)
|
|
|
|
+ intent.component = ComponentName("com.huibao.hulibao", "com.huibao.hulibao.activity.SplashActivity")
|
|
|
|
+ startActivity(intent)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|