mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-27 09:31:20 +01:00
Rename API
This commit is contained in:
parent
7040369529
commit
92c0d97110
@ -107,7 +107,7 @@ class Matrix private constructor(context: Context, matrixConfiguration: MatrixCo
|
||||
/**
|
||||
* Get the worker factory. The returned value has to be provided to `WorkConfiguration.Builder()`
|
||||
*/
|
||||
fun workerFactory(): WorkerFactory = matrixWorkerFactory
|
||||
fun getWorkerFactory(): WorkerFactory = matrixWorkerFactory
|
||||
|
||||
/**
|
||||
* Register an API interceptor, to be able to be notified when the specified API got a response
|
||||
|
@ -224,7 +224,7 @@ class VectorApplication :
|
||||
|
||||
override fun getWorkManagerConfiguration(): WorkConfiguration {
|
||||
return WorkConfiguration.Builder()
|
||||
.setWorkerFactory(matrix.workerFactory())
|
||||
.setWorkerFactory(matrix.getWorkerFactory())
|
||||
.setExecutor(Executors.newCachedThreadPool())
|
||||
.build()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user