From 7d232527c880f94cd48eda216309c0ffb105489b Mon Sep 17 00:00:00 2001 From: onurays Date: Thu, 20 Feb 2020 16:39:48 +0300 Subject: [PATCH] Documentation of the API change is added. --- CHANGES.md | 1 + .../im/vector/matrix/android/api/listeners/ProgressListener.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 897f8deebf..b402dc0522 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,7 @@ Translations 🗣: SDK API changes ⚠️: - Get crypto methods through Session.cryptoService() + - ProgressListener.onProgress() function will be invoked on the background thread instead of UI thread Build 🧱: - diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/listeners/ProgressListener.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/listeners/ProgressListener.kt index ad47260f86..ab91110061 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/listeners/ProgressListener.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/listeners/ProgressListener.kt @@ -20,7 +20,7 @@ package im.vector.matrix.android.api.listeners * Interface to send a progress info */ interface ProgressListener { - /** + /** Will be invoked on the background thread, not in UI thread. * @param progress from 0 to total by contract * @param total */