package com.tencent.mm.plugin.freewifi.ui;

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

class FreeWifiManufacturerLoadingUI$1 extends ak {
    int i = 0;
    final /* synthetic */ FreeWifiManufacturerLoadingUI mzG;

    FreeWifiManufacturerLoadingUI$1(FreeWifiManufacturerLoadingUI freeWifiManufacturerLoadingUI) {
        this.mzG = freeWifiManufacturerLoadingUI;
    }

    public final void handleMessage(Message message) {
        AppMethodBeat.i(21008);
        if (message.what == 1) {
            if (this.i >= FreeWifiManufacturerLoadingUI.a(this.mzG).length) {
                this.i = 0;
            }
            FreeWifiManufacturerLoadingUI.b(this.mzG).setImageResource(FreeWifiManufacturerLoadingUI.a(this.mzG)[this.i]);
            this.i++;
        } else if (message.what == 2) {
            FreeWifiManufacturerLoadingUI.b(this.mzG).setImageResource(FreeWifiManufacturerLoadingUI.a(this.mzG)[FreeWifiManufacturerLoadingUI.a(this.mzG).length - 1]);
        } else if (message.what == 3 && message.obj != null && (message.obj instanceof String)) {
            FreeWifiManufacturerLoadingUI.c(this.mzG).setText(message.obj.toString());
        }
        super.handleMessage(message);
        AppMethodBeat.o(21008);
    }
}
