summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-11-27 12:38:15 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-11-27 12:43:36 +0530
commit2decedbf4b48898dc6e26016f120bc20667d34a6 (patch)
tree65cc75b6b5afd8b205bf8c84ac9e12c8437825c4 /app/src/main
parent7c7218ef22ae45f94fc0a81009e21e961a0eea09 (diff)
feat: remove Beagle
It breaks WhatTheStack and doesn't offer anything particularly useful
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/app/passwordstore/Application.kt29
1 files changed, 1 insertions, 28 deletions
diff --git a/app/src/main/java/app/passwordstore/Application.kt b/app/src/main/java/app/passwordstore/Application.kt
index 997b8744..d52dfacf 100644
--- a/app/src/main/java/app/passwordstore/Application.kt
+++ b/app/src/main/java/app/passwordstore/Application.kt
@@ -8,10 +8,7 @@ import android.content.SharedPreferences
import android.os.Build
import android.os.StrictMode
import androidx.appcompat.app.AppCompatDelegate
-import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY
-import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM
-import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO
-import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES
+import androidx.appcompat.app.AppCompatDelegate.*
import app.passwordstore.injection.context.FilesDirPath
import app.passwordstore.injection.prefs.SettingsPreferences
import app.passwordstore.util.extensions.getString
@@ -23,14 +20,6 @@ import app.passwordstore.util.settings.GitSettings
import app.passwordstore.util.settings.PreferenceKeys
import app.passwordstore.util.settings.runMigrations
import com.google.android.material.color.DynamicColors
-import com.pandulapeter.beagle.Beagle
-import com.pandulapeter.beagle.modules.AppInfoButtonModule
-import com.pandulapeter.beagle.modules.DeviceInfoModule
-import com.pandulapeter.beagle.modules.DividerModule
-import com.pandulapeter.beagle.modules.HeaderModule
-import com.pandulapeter.beagle.modules.LifecycleLogListModule
-import com.pandulapeter.beagle.modules.PaddingModule
-import com.pandulapeter.beagle.modules.ScreenCaptureToolboxModule
import dagger.hilt.android.HiltAndroidApp
import io.sentry.Sentry
import io.sentry.protocol.User
@@ -59,22 +48,6 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
BuildConfig.ENABLE_DEBUG_FEATURES ||
prefs.getBoolean(PreferenceKeys.ENABLE_DEBUG_LOGGING, false)
) {
- Beagle.initialize(application = this)
- Beagle.set(
- HeaderModule(
- title = getString(R.string.app_name),
- subtitle = BuildConfig.APPLICATION_ID,
- text =
- "${BuildConfig.BUILD_TYPE} v${BuildConfig.VERSION_NAME} (${BuildConfig.VERSION_CODE})"
- ),
- AppInfoButtonModule(),
- PaddingModule(),
- ScreenCaptureToolboxModule(),
- DividerModule(),
- LifecycleLogListModule(),
- DividerModule(),
- DeviceInfoModule(),
- )
LogcatLogger.install(AndroidLogcatLogger(DEBUG))
setVmPolicy()
}