package com.tencent.mm.plugin.subapp.ui.openapi;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemLongClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class ServicePreference$2 implements OnItemLongClickListener {
    final /* synthetic */ ServicePreference suT;

    ServicePreference$2(ServicePreference servicePreference) {
        this.suT = servicePreference;
    }

    public final boolean onItemLongClick(AdapterView<?> adapterView, View view, int i, long j) {
        AppMethodBeat.i(25484);
        ServicePreference servicePreference = this.suT;
        if (servicePreference.suS != null) {
            boolean z;
            b bVar = servicePreference.suS;
            if (servicePreference.suS.suv) {
                z = false;
            } else {
                z = true;
            }
            bVar.lX(z);
        }
        AppMethodBeat.o(25484);
        return true;
    }
}
