Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ commonsIo = "2.22.0"
compose = "1.11.0"
coreKtx = "1.18.0"
desugar_jdk_libs = "2.1.5"
freeDroidWarn = "V1.11"
gson = "2.13.2"
guava = "33.6.0-android"
handoff = "0.30.1"
Expand Down Expand Up @@ -66,6 +67,7 @@ androidx-work-runtime = { module = "androidx.work:work-runtime", version.ref = "
assertj-core = { module = "org.assertj:assertj-core", version.ref = "assertjCore" }
commons-io = { module = "commons-io:commons-io", version.ref = "commonsIo" }
desugar_jdk_libs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugar_jdk_libs" }
freedroidwarn = { module = "com.github.woheller69:FreeDroidWarn", version.ref = "freeDroidWarn" }
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
guava = { module = "com.google.guava:guava", version.ref = "guava" }
handoff = { module = "com.namehillsoftware:handoff", version.ref = "handoff" }
Expand Down
1 change: 1 addition & 0 deletions projectBlueWater/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ dependencies {
implementation libs.markdown.renderer
implementation libs.markdown.renderer.m2
implementation libs.material
implementation libs.freedroidwarn
implementation libs.guava
implementation libs.joda.time
implementation libs.commons.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import androidx.core.app.ActivityCompat
import androidx.core.view.WindowCompat
import com.lasthopesoftware.bluewater.ActivityDependencies
import com.lasthopesoftware.bluewater.ApplicationDependenciesContainer.applicationDependencies
import com.lasthopesoftware.bluewater.BuildConfig
import com.lasthopesoftware.bluewater.TvApplicationDependencies
import com.lasthopesoftware.bluewater.android.intents.safelyGetParcelableExtra
import com.lasthopesoftware.bluewater.android.ui.ProjectBlueComposableApplication
Expand All @@ -32,6 +33,7 @@ import com.lasthopesoftware.observables.subscribeAsState
import com.lasthopesoftware.promises.extensions.registerResultActivityLauncher
import com.namehillsoftware.handoff.Messenger
import com.namehillsoftware.handoff.promises.Promise
import org.woheller69.freeDroidWarn.FreeDroidWarn
import java.util.concurrent.ConcurrentHashMap

private val logger by lazyLogger<EntryActivity>()
Expand Down Expand Up @@ -92,6 +94,8 @@ class EntryActivity :
isInLeanbackMode = intent.hasCategory(Intent.CATEGORY_LEANBACK_LAUNCHER)
}

FreeDroidWarn.showWarningOnUpgrade(this, BuildConfig.VERSION_CODE)

applicationPermissions.promiseApplicationPermissionsRequest()

WindowCompat.setDecorFitsSystemWindows(window, false)
Expand Down
Loading