package com.ifpdos.debugmenu.action;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import com.ifpdos.debugmenu.action.base.ItemButtonAction;
import com.ifpdos.debugmenu.event.PageEvent;
import d.f.a.j2.e.e;
import d.f.a.r2.v2;
import d.i.a.a.a;
import k.c.a.c;

/* JADX INFO: loaded from: classes.dex */
public class ExportSoftwareInfoAction extends ItemButtonAction {
    private static final int AUTO_CHECK_DELAY_FOR_USB_SWITCH = 5000;
    private static final int AUTO_CHECK_DELAY_MILLIS = 2000;
    private static final String TAG = "ExportSoftwareInfo";
    private Handler mHandler;
    private boolean mIsAutoExport;
    private v2 mTryChangeFrontUSBHelper;
    public a softWareInfo;

    public ExportSoftwareInfoAction(Context context) {
        super(context);
        this.mIsAutoExport = false;
        Handler handler = new Handler(Looper.getMainLooper());
        this.mHandler = handler;
        handler.postDelayed(new Runnable() { // from class: d.f.a.p1.j2
            @Override // java.lang.Runnable
            public final void run() {
                this.f2780b.performAutoCheck();
            }
        }, 2000L);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public void performAutoCheck() {
        if (this.mIsAutoExport) {
            c.c().g(new PageEvent.ExportSoftwareInfo());
        }
    }

    @Override // com.ifpdos.debugmenu.action.base.ItemButtonAction, d.f.a.j2.e.e.a
    public void onClick(Context context, e eVar) {
        c.c().g(new PageEvent.ExportSoftwareInfo());
    }

    @Override // com.ifpdos.debugmenu.action.base.ItemButtonAction, d.f.a.j2.e.e.a
    public void onLongClick(Context context, e eVar) {
    }
}
