Merge "Use Spatializer in overlay for new device details page" into main
This commit is contained in:
@@ -54,7 +54,7 @@ open class BluetoothFeatureProviderImpl : BluetoothFeatureProvider {
|
||||
return null
|
||||
}
|
||||
|
||||
override fun getSpatializer(context: Context): Spatializer? {
|
||||
override fun getSpatializer(context: Context): Spatializer {
|
||||
val audioManager = context.getSystemService(AudioManager::class.java)
|
||||
return audioManager.spatializer
|
||||
}
|
||||
@@ -89,7 +89,7 @@ open class BluetoothFeatureProviderImpl : BluetoothFeatureProvider {
|
||||
context, audioManager,
|
||||
SpatializerInteractor(
|
||||
SpatializerRepositoryImpl(
|
||||
audioManager.spatializer,
|
||||
getSpatializer(context),
|
||||
Dispatchers.IO
|
||||
)
|
||||
), scope, Dispatchers.IO)
|
||||
|
Reference in New Issue
Block a user