summaryrefslogtreecommitdiff
path: root/core/java/android/content/AsyncTaskLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/content/AsyncTaskLoader.java')
-rw-r--r--core/java/android/content/AsyncTaskLoader.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/content/AsyncTaskLoader.java b/core/java/android/content/AsyncTaskLoader.java
index 52a1b352f378..f0f8b03407f0 100644
--- a/core/java/android/content/AsyncTaskLoader.java
+++ b/core/java/android/content/AsyncTaskLoader.java
@@ -77,8 +77,10 @@ public abstract class AsyncTaskLoader<D> extends Loader<D> {
/**
* Called on a worker thread to perform the actual load. Implementations should not deliver the
- * results directly, but should return them from this method and deliver them from
- * {@link #onPostExecute()}
+ * results directly, but should return them from this method, which will eventually end up
+ * calling {@link #deliverResult(Object)} on the UI thread. If implementations need to process
+ * the results on the UI thread they may override {@link #deliverResult(Object)} and do so
+ * there.
*
* @return the result of the load
*/