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

import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.q.n;
import com.tencent.mm.plugin.voip.ui.VoipBaseFragment.b;

class VoipBaseFragment$b$1 implements Runnable {
    final /* synthetic */ b sWB;
    final /* synthetic */ Bitmap sWz;

    VoipBaseFragment$b$1(b bVar, Bitmap bitmap) {
        this.sWB = bVar;
        this.sWz = bitmap;
    }

    public final void run() {
        AppMethodBeat.i(4846);
        if (this.sWB.sWy.sWr != null) {
            this.sWB.sWy.sWr.setBackgroundDrawable(new BitmapDrawable(this.sWz));
            this.sWB.sWy.sWr.getBackground().setAlpha(n.CTRL_INDEX);
            this.sWB.sWy.sWr.getBackground().setFilterBitmap(true);
        }
        VoipBaseFragment.b(this.sWB.sWy);
        AppMethodBeat.o(4846);
    }
}
