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

Commit 07d718be authored by Eugene Susla's avatar Eugene Susla
Browse files

Deprecate HandlerCaller in favor of PooledLambda

Test: proofread
Change-Id: I9e7200e6985d13bfd78df9efea94d5861db2cf56
parent e0936a1f
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;