mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
Chore: remove unused check
This commit is contained in:
@@ -8,7 +8,7 @@ import com.microsoft.appcenter.crashes.ingestion.models.ErrorAttachmentLog
|
|||||||
|
|
||||||
object Tracker {
|
object Tracker {
|
||||||
fun initialize(application: Application) {
|
fun initialize(application: Application) {
|
||||||
if (BuildConfig.APP_CENTER_KEY != null && !BuildConfig.DEBUG) {
|
if (!BuildConfig.DEBUG) {
|
||||||
AppCenter.start(
|
AppCenter.start(
|
||||||
application,
|
application,
|
||||||
BuildConfig.APP_CENTER_KEY,
|
BuildConfig.APP_CENTER_KEY,
|
||||||
@@ -18,7 +18,7 @@ object Tracker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun uploadLogcat(logcat: String) {
|
fun uploadLogcat(logcat: String) {
|
||||||
if (BuildConfig.APP_CENTER_KEY != null && !BuildConfig.DEBUG) {
|
if (!BuildConfig.DEBUG) {
|
||||||
if (logcat.isNotBlank()) {
|
if (logcat.isNotBlank()) {
|
||||||
Crashes.trackError(
|
Crashes.trackError(
|
||||||
RuntimeException(),
|
RuntimeException(),
|
||||||
|
|||||||
Reference in New Issue
Block a user