// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.oliodevices.assist.app.detectors.firmware; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import com.olio.state.Firmware; import com.olio.util.ALog; import java.io.IOException; // Referenced classes of package com.oliodevices.assist.app.detectors.firmware: // FirmwareUpdateHelper class val.firmware extends AsyncTask { final FirmwareUpdateHelper this$0; final Firmware val$firmware; final String val$firmwareUrl; protected transient Boolean doInBackground(Void avoid[]) { try { FirmwareUpdateHelper.access$200(FirmwareUpdateHelper.this, val$firmwareUrl, FirmwareUpdateHelper.access$100(FirmwareUpdateHelper.this)); } // Misplaced declaration of an exception variable catch (Void avoid[]) { ALog.d("IOE: %s", new Object[] { avoid.getLocalizedMessage() }); return Boolean.valueOf(false); } return Boolean.valueOf(true); } protected volatile Object doInBackground(Object aobj[]) { return doInBackground((Void[])aobj); } protected void onPostExecute(Boolean boolean1) { FirmwareUpdateHelper.access$302(FirmwareUpdateHelper.this, false); if (boolean1.booleanValue()) { ALog.d("Finished downloading the Firmware, sending to the watch", new Object[0]); FirmwareUpdateHelper.access$400(FirmwareUpdateHelper.this, val$firmware); FirmwareUpdateHelper.access$000(FirmwareUpdateHelper.this).sendStickyBroadcast((new Intent("com.oliodevices.assist.intent.action.FIRMWARE_AVAILABLE")).putExtra("available_firmware_version", val$firmware.getVersion()).putExtra("available_firmware_name", val$firmware.getName())); return; } else { ALog.d("Failure downloading the Firmware update file", new Object[0]); return; } } protected volatile void onPostExecute(Object obj) { onPostExecute((Boolean)obj); } () { this$0 = final_firmwareupdatehelper; val$firmwareUrl = s; val$firmware = Firmware.this; super(); } }