Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a042b0d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Deprecate HandlerCaller in favor of PooledLambda"

parents b13b17d8 07d718be
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,12 @@ import android.os.Handler;
import android.os.Looper;
import android.os.Message;

/**
 * @deprecated Use {@link com.android.internal.util.function.pooled.PooledLambda#obtainMessage}
 *      to achieve the same effect of storing multiple values in a message with the added typesafety
 *      and code continuity benefits.
 */
@Deprecated
public class HandlerCaller {
    final Looper mMainLooper;
    final Handler mH;