mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Clear SDK cache properly (#4396)
* Use close() instead of destroy, because close() is synchronized. * Use new method to clear the SDK cache. * Format file. * Remove the legacy way to clear the SDK cache. * Remove unused import * revert name change
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ class FakeMatrixClient(
|
||||
return 0
|
||||
}
|
||||
|
||||
override suspend fun clearCache() {
|
||||
override suspend fun clearCache() = simulateLongTask {
|
||||
clearCacheLambda()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user