package com.tencent.mm.plugin.appbrand.debugger;

import android.view.ViewTreeObserver.OnGlobalLayoutListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class RemoteDebugMoveView$2 implements OnGlobalLayoutListener {
    private int counter = 0;
    final /* synthetic */ RemoteDebugMoveView hki;

    RemoteDebugMoveView$2(RemoteDebugMoveView remoteDebugMoveView) {
        this.hki = remoteDebugMoveView;
    }

    public final void onGlobalLayout() {
        AppMethodBeat.i(101853);
        int i = this.counter + 1;
        this.counter = i;
        if (i < 2) {
            AppMethodBeat.o(101853);
            return;
        }
        this.hki.getViewTreeObserver().removeOnGlobalLayoutListener(this);
        this.hki.post(new 1(this));
        AppMethodBeat.o(101853);
    }
}
