diff --git a/app/src/main/java/com/gh/gamecenter/MainActivity.java b/app/src/main/java/com/gh/gamecenter/MainActivity.java index d87cf65a58..c90a427976 100644 --- a/app/src/main/java/com/gh/gamecenter/MainActivity.java +++ b/app/src/main/java/com/gh/gamecenter/MainActivity.java @@ -609,7 +609,7 @@ public class MainActivity extends BaseActivity { if (downloadEntity != null) { File file = new File(downloadEntity.getPath()); if (!file.exists()) { - ToastUtils.INSTANCE.showToast("文件已被删除,无法启动"); + ToastUtils.showToast("文件已被删除,无法启动"); return; } @@ -620,8 +620,8 @@ public class MainActivity extends BaseActivity { toast("模拟器游戏启动失败,请联系客服反馈相关信息"); SentryHelper.INSTANCE.onEvent( "SIMULATOR_SHORTCUT_LAUNCH_ERROR", - "raw_json", - json + "error_digest", + exception.getLocalizedMessage() ); } break; diff --git a/app/src/main/java/com/gh/gamecenter/personalhome/background/BackgroundPreviewFragment.kt b/app/src/main/java/com/gh/gamecenter/personalhome/background/BackgroundPreviewFragment.kt index 233804eadc..4bdf9ab1de 100644 --- a/app/src/main/java/com/gh/gamecenter/personalhome/background/BackgroundPreviewFragment.kt +++ b/app/src/main/java/com/gh/gamecenter/personalhome/background/BackgroundPreviewFragment.kt @@ -44,8 +44,6 @@ class BackgroundPreviewFragment : ToolbarFragment() { private var mLocalPath: String = "" private var backgroundImageEntity: BackgroundImageEntity? = null//如果为空,则是本地选择的 - private var mIsTheFirstTimeUserChangeBlurriness = true // 用户是否进入页面来第一次更改模糊度 - private lateinit var mUserViewModel: UserViewModel override fun getLayoutId(): Int = 0 @@ -177,10 +175,6 @@ class BackgroundPreviewFragment : ToolbarFragment() { }, { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { changeAmbiguity() - if (mIsTheFirstTimeUserChangeBlurriness) { - SentryHelper.onEvent("USER_CHANGE_BLURRINESS", "isEmulator", "${HaloApp.getInstance().isEmulator}") - mIsTheFirstTimeUserChangeBlurriness = false - } } else { ToastUtils.showToast("系统版本太低") }