From 4abd7ecfa2fb5aee6449cfa7fb02971bab9918bb Mon Sep 17 00:00:00 2001 From: "Philip P. Moltmann" Date: Wed, 23 Mar 2016 12:02:00 -0700 Subject: [PATCH] Fix javadoc for Icon.loadDrawableAsync(Context, OnDrawableLoadedListener, Handler). Change-Id: I349008b293066c6c45b080f945f9fe197a3f2158 --- graphics/java/android/graphics/drawable/Icon.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/graphics/java/android/graphics/drawable/Icon.java b/graphics/java/android/graphics/drawable/Icon.java index 51221b4a303e9..2b950d3d5c5d7 100644 --- a/graphics/java/android/graphics/drawable/Icon.java +++ b/graphics/java/android/graphics/drawable/Icon.java @@ -243,13 +243,15 @@ public final class Icon implements Parcelable { } /** - * Invokes {@link #loadDrawable(Context)} on a background thread - * and then runs andThen on the UI thread when finished. + * Invokes {@link #loadDrawable(Context)} on a background thread and notifies the + * {@link OnDrawableLoadedListener#onDrawableLoaded listener} on the {@code handler} + * when finished. * * @param context {@link Context Context} in which to load the drawable; see * {@link #loadDrawable(Context)} - * @param listener a callback to run on the provided - * @param handler {@link Handler} on which to run andThen. + * @param listener to be {@link OnDrawableLoadedListener#onDrawableLoaded notified} when + * {@link #loadDrawable(Context)} finished + * @param handler {@link Handler} on which to notify the {@code listener} */ public void loadDrawableAsync(Context context, final OnDrawableLoadedListener listener, Handler handler) {