package com.tencent.mm.pluginsdk.ui.chat;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.os.Message;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ak;

class ChatFooter$12 extends ak {
    final /* synthetic */ ChatFooter vnX;

    ChatFooter$12(ChatFooter chatFooter) {
        this.vnX = chatFooter;
    }

    @SuppressLint({"NewApi"})
    @TargetApi(11)
    public final void handleMessage(Message message) {
        AppMethodBeat.i(27799);
        switch (message.what) {
            case 1002:
                if (!(ChatFooter.a(this.vnX) == null || message.obj == null)) {
                    boolean booleanValue = ((Boolean) message.obj).booleanValue();
                    if (booleanValue) {
                        ChatFooter.a(this.vnX).setAlpha(1.0f);
                    } else {
                        ChatFooter.a(this.vnX).setAlpha(0.5f);
                    }
                    ChatFooter.a(this.vnX, booleanValue);
                    break;
                }
        }
        AppMethodBeat.o(27799);
    }
}
