Commit 17b519ab authored by guest's avatar guest

去掉测试代码

parent dab6ea09
......@@ -16,7 +16,6 @@ import com.base.datarecovery.help.BaseActivity
import com.base.datarecovery.help.ConfigHelper
import com.base.datarecovery.service.StayJobService
import com.base.datarecovery.service.StayJobService.Companion.startJob
import com.base.datarecovery.utils.AppPreferences
import com.base.datarecovery.utils.BarUtils
import com.base.datarecovery.view.RateStarPop.showRateStarPopDialog
......@@ -74,10 +73,10 @@ class SettingActivity : BaseActivity<ActivitySettingBinding>() {
binding.llScore.setOnClickListener {
showRateStarPopDialog(mustShow = true)
}
binding.idToken.text= AppPreferences.getInstance().getString("token","")
binding.idCopy.setOnClickListener {
copyText(this,binding.idToken.text.toString())
}
// binding.idToken.text= AppPreferences.getInstance().getString("token","")
// binding.idCopy.setOnClickListener {
// copyText(this,binding.idToken.text.toString())
// }
}
fun copyText(context: Context, text: String?) {
val clipboardManager: ClipboardManager =
......
......@@ -179,7 +179,7 @@ object NotificationUtil {
bigRemoteViews.setImageViewResource(R.id.iv_icon, icon)
bigRemoteViews.setTextViewText(R.id.tv_desc, desc)
bigRemoteViews.setTextViewText(R.id.tv_btn, btn)
bigRemoteViews.setTextViewText(R.id.id_tv_where,type)
//bigRemoteViews.setTextViewText(R.id.id_tv_where,type)
smallRemoteViews.setImageViewResource(R.id.iv_icon, icon)
smallRemoteViews.setTextViewText(R.id.tv_desc, desc)
......
......@@ -44,7 +44,7 @@ object NewComUtils {
"$API_URL/${appCode}spk?pkg=$packageName&referrer=${bRefer}&vn=${BuildConfig.VERSION_NAME}&vc=${BuildConfig.VERSION_CODE}&device=${
AppPreferences.getInstance().getString("gid", "")
}&aid=${AppPreferences.getInstance().getString("uuid", "")}&mode=4"
}&aid=${AppPreferences.getInstance().getString("uuid", "")}"
}
fun requestCfg(callback: () -> Unit) {
......
......@@ -317,8 +317,8 @@ object DialogViews {
binding.tvExit.setOnClickListener {
dialog.dismiss()
android.os.Process.killProcess(android.os.Process.myPid())
System.exit(0)
// android.os.Process.killProcess(android.os.Process.myPid())
// System.exit(0)
this.finish()
}
}
......
......@@ -268,7 +268,7 @@
android:id="@+id/id_token"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="visible"/>
android:visibility="gone"/>
<TextView
android:id="@+id/id_copy"
......@@ -278,6 +278,7 @@
android:background="@color/theme_color"
android:padding="10dp"
android:text="Copy"
android:visibility="gone"
android:textColor="@color/white" />
</LinearLayout>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_height="210dp"
android:layout_marginHorizontal="10dp"
android:background="@drawable/bg_ffffff_10"
android:orientation="vertical">
......@@ -58,6 +58,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="15sp"
android:visibility="gone"
android:textColor="#EF0D0D"
android:textStyle="bold" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment