diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 58255f5ac3f9aaf14643e72e8ef7a69863f6c0b5..984edb1b759a5729db3e1b26f6b84f9906b0d2f1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -46,6 +46,8 @@ android { setProperty("archivesBaseName", "BlissLauncher-$versionName") } + buildFeatures { buildConfig = true } + buildTypes { release { isMinifyEnabled = false diff --git a/app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java b/app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java index 3ffc93e2ffb649e0699ebb1f10d68bb410d3fe2f..5b9441a8a30b2b37baf86e69f7491c954ffc7e9c 100755 --- a/app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java +++ b/app/src/main/java/foundation/e/blisslauncher/BlissLauncher.java @@ -8,10 +8,6 @@ import android.database.ContentObserver; import android.net.Uri; import android.os.Handler; import android.provider.Settings; -import android.util.Log; - -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; import foundation.e.blisslauncher.core.DeviceProfile; import foundation.e.blisslauncher.core.IconsHandler; @@ -52,16 +48,7 @@ public class BlissLauncher extends Application { getContentResolver().registerContentObserver(NOTIFICATION_BADGING_URI, false, notificationSettingsObserver); if (!BuildConfig.DEBUG) { - Telemetry.INSTANCE.init(BuildConfig.SENTRY_DSN, this); - Timber.plant(new Timber.Tree() { - @Override - protected void log(int priority, @Nullable String tag, @NonNull String message, @Nullable Throwable t) { - Log.println(priority, tag, message); - if (priority == Log.WARN || priority == Log.ERROR) { - Telemetry.INSTANCE.reportMessage(tag + ": " + message); - } - } - }); + Telemetry.init(BuildConfig.SENTRY_DSN, this, true); } else { Timber.plant(new Timber.DebugTree()); } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 25a42ecb158cebb8aa40841aaad7865db0d8af47..259707a49aaf123f713ce3c8846f1b7de632b231 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -35,7 +35,7 @@ dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = dagger-android-processor = { module = "com.google.dagger:dagger-android-processor", version.ref = "dagger" } greenrobot-eventbus = "org.greenrobot:eventbus:3.1.1" -hoko-blur = "com.hoko:hoko-blur:1.3.4" +hoko-blur = "io.github.hokofly:hoko-blur:1.4.0" kotlin-stdlib-jdk7 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk7", version.ref = "kotlin" } kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" } @@ -71,7 +71,7 @@ tools-timber = "com.jakewharton.timber:timber:5.0.1" timber = "com.jakewharton.timber:timber:4.7.1" restriction-bypass = "com.github.ChickenHook:RestrictionBypass:2.2" elib = "foundation.e:elib:0.0.1-alpha11" -telemetry = "foundation.e.lib:telemetry:0.0.4-alpha" +telemetry = "foundation.e.lib:telemetry:0.0.6-alpha" [plugins] android-application = { id = "com.android.application", version.ref = "agp" }