// 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.controller; import android.os.Handler; import com.olio.util.ALog; import java.io.File; import java.util.Set; import retrofit.Callback; import retrofit.RetrofitError; import retrofit.client.Response; // Referenced classes of package com.oliodevices.assist.app.controller: // WatchAnalytics class val.cacheDir implements Callback { final WatchAnalytics this$0; final File val$cacheDir; final Set val$keysToDelete; public void failure(RetrofitError retrofiterror) { ALog.e("Unable to post logs, error: ", new Object[] { retrofiterror.toString() }); if (WatchAnalytics.access$300(WatchAnalytics.this) != null) { (new File(val$cacheDir, WatchAnalytics.access$300(WatchAnalytics.this))).delete(); WatchAnalytics.access$302(WatchAnalytics.this, null); } if (WatchAnalytics.access$000(WatchAnalytics.this) < 3) { int _tmp = WatchAnalytics.access$004(WatchAnalytics.this); WatchAnalytics.access$400(WatchAnalytics.this).post(new Runnable() { final WatchAnalytics._cls2 this$1; public void run() { WatchAnalytics.access$100(this$0); } { this$1 = WatchAnalytics._cls2.this; super(); } }); } } public volatile void success(Object obj, Response response) { success((Response)obj, response); } public void success(Response response, Response response1) { ALog.d("Successfully posted logs", new Object[0]); WatchAnalytics.access$200(WatchAnalytics.this, val$keysToDelete); WatchAnalytics.access$002(WatchAnalytics.this, 0); if (WatchAnalytics.access$300(WatchAnalytics.this) != null) { response1 = WatchAnalytics.access$300(WatchAnalytics.this).substring(0, WatchAnalytics.access$300(WatchAnalytics.this).length() - 4); response = new File(val$cacheDir, WatchAnalytics.access$300(WatchAnalytics.this)); response1 = new File(val$cacheDir, response1); if (response.exists()) { response.renameTo(response1); } WatchAnalytics.access$302(WatchAnalytics.this, null); WatchAnalytics.access$400(WatchAnalytics.this).post(new Runnable() { final WatchAnalytics._cls2 this$1; public void run() { WatchAnalytics.access$100(this$0); } { this$1 = WatchAnalytics._cls2.this; super(); } }); } } _cls2.this._cls1() { this$0 = final_watchanalytics; val$keysToDelete = set; val$cacheDir = File.this; super(); } }