// 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 this._cls1 implements Runnable { final is._cls0 this$1; public void run() { WatchAnalytics.access$100(_fld0); } l.cacheDir() { this$1 = this._cls1.this; super(); } // Unreferenced inner class com/oliodevices/assist/app/controller/WatchAnalytics$2 /* anonymous class */ class WatchAnalytics._cls2 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(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 WatchAnalytics._cls2._cls2()); } } 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, 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(cacheDir, WatchAnalytics.access$300(WatchAnalytics.this)); response1 = new File(cacheDir, response1); if (response.exists()) { response.renameTo(response1); } WatchAnalytics.access$302(WatchAnalytics.this, null); WatchAnalytics.access$400(WatchAnalytics.this).post(new WatchAnalytics._cls2._cls1()); } } { this$0 = final_watchanalytics; keysToDelete = set; cacheDir = File.this; super(); } // Unreferenced inner class com/oliodevices/assist/app/controller/WatchAnalytics$2$1 /* anonymous class */ class WatchAnalytics._cls2._cls1 implements Runnable { final WatchAnalytics._cls2 this$1; public void run() { WatchAnalytics.access$100(this$0); } { this$1 = WatchAnalytics._cls2.this; super(); } } } }