Commit 17b519ab authored by guest's avatar guest

去掉测试代码

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