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…
Reference in New Issue