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

import android.view.View;
import android.widget.FrameLayout.LayoutParams;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;

class OfflineAlertView$9 implements Runnable {
    final /* synthetic */ View oZi;
    final /* synthetic */ OfflineAlertView oZl;

    OfflineAlertView$9(OfflineAlertView offlineAlertView, View view) {
        this.oZl = offlineAlertView;
        this.oZi = view;
    }

    public final void run() {
        AppMethodBeat.i(43451);
        ab.i("MicroMsg.OfflineAlertView", "qrCodeView.getHeight%s %s", new Object[]{Integer.valueOf(this.oZi.getHeight()), Integer.valueOf(this.oZi.getMeasuredHeight())});
        LayoutParams layoutParams = (LayoutParams) OfflineAlertView.a(this.oZl).getLayoutParams();
        if (this.oZi.getHeight() > 0) {
            layoutParams.height = this.oZi.getHeight();
            OfflineAlertView.a(this.oZl).setLayoutParams(layoutParams);
            OfflineAlertView.a(this.oZl).invalidate();
        }
        if (OfflineAlertView.b(this.oZl) != null) {
            OfflineAlertView.b(this.oZl).onShow();
        }
        AppMethodBeat.o(43451);
    }
}
