Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e2ae9de authored by Yash Garg's avatar Yash Garg 💬
Browse files

Merge branch '856-sentry-master' into 'master'

chore: adapt Sentry logging for new changes and bump blur library

See merge request !154
parents ed95094a d395ac70
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -46,6 +46,8 @@ android {
        setProperty("archivesBaseName", "BlissLauncher-$versionName")
    }

    buildFeatures { buildConfig = true }

    buildTypes {
        release {
            isMinifyEnabled = false
+1 −14
Original line number Diff line number Diff line
@@ -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());
        }
+2 −2
Original line number Diff line number Diff line
@@ -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" }