NTP-1234 | Remove Alfred SDK Version Coupling (#635)
This commit is contained in:
@@ -96,7 +96,6 @@ dependencies {
|
||||
implementation libs.coil.svg
|
||||
implementation libs.dagger.hiltAndroid
|
||||
implementation libs.gson
|
||||
implementation libs.navi.alfred
|
||||
implementation libs.okhttp.loggingIntercepter
|
||||
|
||||
androidTestImplementation libs.androidx.test.espresso.core
|
||||
|
||||
@@ -8,12 +8,10 @@
|
||||
package com.navi.uitron.demo
|
||||
|
||||
import android.content.Context
|
||||
import android.view.View
|
||||
import androidx.compose.ui.graphics.Shape
|
||||
import androidx.compose.ui.text.font.FontFamily
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.media3.datasource.cache.SimpleCache
|
||||
import com.navi.alfred.AlfredManager
|
||||
import com.navi.uitron.IUiTronDependencyProvider
|
||||
import com.navi.uitron.demo.font.naviFontFamily
|
||||
import com.navi.uitron.model.UiTronConfig
|
||||
@@ -185,32 +183,6 @@ class UiTronDependencyProvider : IUiTronDependencyProvider {
|
||||
|
||||
override fun logException(e: Exception) {}
|
||||
|
||||
override fun maskSensitiveUiTronComposable(
|
||||
id: String,
|
||||
left: Float?,
|
||||
top: Float?,
|
||||
right: Float?,
|
||||
bottom: Float?,
|
||||
rootView: View?
|
||||
) {
|
||||
AlfredManager.sensitiveComposeRepository.maskSensitiveUiTronComposable(
|
||||
id,
|
||||
left,
|
||||
top,
|
||||
right,
|
||||
bottom,
|
||||
rootView
|
||||
)
|
||||
}
|
||||
|
||||
override fun removeSensitiveComposable(id: String) {
|
||||
AlfredManager.sensitiveComposeRepository.removeSensitiveComposable(id)
|
||||
}
|
||||
|
||||
override fun blurSensitiveScreen(blur: Boolean) {
|
||||
AlfredManager.sensitiveComposeRepository.blurSensitiveScreen(blur)
|
||||
}
|
||||
|
||||
override fun getMedia3SimpleCache(): SimpleCache {
|
||||
return MainApplication.instance.media3SimpleCache
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ kotlin = "2.0.21"
|
||||
ksp = "2.0.21-1.0.28"
|
||||
lottie = "6.4.1"
|
||||
mvel2 = "2.4.15.Final"
|
||||
navi-alfred = "1.18.0"
|
||||
navigation-compose = "2.6.0"
|
||||
okhttp-bom = "4.12.0"
|
||||
retrofit = "2.11.0"
|
||||
@@ -98,8 +97,6 @@ lottieCompose = { module = "com.airbnb.android:lottie-compose", version.ref = "l
|
||||
|
||||
mvel2 = { module = "org.mvel:mvel2", version.ref = "mvel2" }
|
||||
|
||||
navi-alfred = { module = "com.navi.android:alfred", version.ref = "navi-alfred" }
|
||||
|
||||
okhttp-bom = { module = "com.squareup.okhttp3:okhttp-bom", version.ref = "okhttp-bom" }
|
||||
okhttp-loggingIntercepter = { module = "com.squareup.okhttp3:logging-interceptor" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user