// 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.api; import android.content.Context; import com.olio.data.object.user.ActivityTimes; import com.olio.data.object.user.CalendarSettings; import com.olio.data.object.user.FavoriteContacts; import com.olio.data.object.user.Locations; import com.olio.data.object.user.TransportationSettings; import com.olio.util.ALog; import com.oliodevices.assist.app.api.models.SettingsEnvelope; import retrofit.Callback; import retrofit.RetrofitError; import retrofit.client.Response; // Referenced classes of package com.oliodevices.assist.app.api: // OlioApi, ApiCallback class implements Callback { final OlioApi this$0; final ApiCallback val$callback; final Context val$context; final String val$thisSettingName; public void failure(RetrofitError retrofiterror) { ALog.d("Failed to load a specific user setting from server", new Object[0]); val$callback.failure(retrofiterror); } public void success(SettingsEnvelope settingsenvelope, Response response) { byte byte0; byte0 = 0; ALog.d(settingsenvelope.toString(), new Object[0]); response = val$thisSettingName; response.hashCode(); JVM INSTR lookupswitch 5: default 72 // -1197189282: 144 // -979433006: 158 // 393364324: 172 // 457582948: 130 // 807749384: 118; goto _L1 _L2 _L3 _L4 _L5 _L6 _L1: byte0 = -1; _L13: byte0; JVM INSTR tableswitch 0 4: default 108 // 0 186 // 1 206 // 2 226 // 3 246 // 4 266; goto _L7 _L8 _L9 _L10 _L11 _L12 _L7: val$callback.success(); return; _L6: if (!response.equals("activity-times")) goto _L1; else goto _L13 _L5: if (!response.equals("favorite-contacts")) goto _L1; else goto _L14 _L14: byte0 = 1; goto _L13 _L2: if (!response.equals("locations")) goto _L1; else goto _L15 _L15: byte0 = 2; goto _L13 _L3: if (!response.equals("calendar-settings")) goto _L1; else goto _L16 _L16: byte0 = 3; goto _L13 _L4: if (!response.equals("transportation-settings")) goto _L1; else goto _L17 _L17: byte0 = 4; goto _L13 _L8: ((ActivityTimes)settingsenvelope.getValue()).save(val$context.getContentResolver()); goto _L7 _L9: ((FavoriteContacts)settingsenvelope.getValue()).save(val$context.getContentResolver()); goto _L7 _L10: ((Locations)settingsenvelope.getValue()).save(val$context.getContentResolver()); goto _L7 _L11: ((CalendarSettings)settingsenvelope.getValue()).save(val$context.getContentResolver()); goto _L7 _L12: ((TransportationSettings)settingsenvelope.getValue()).save(val$context.getContentResolver()); goto _L7 } public volatile void success(Object obj, Response response) { success((SettingsEnvelope)obj, response); } () { this$0 = final_olioapi; val$thisSettingName = s; val$context = context1; val$callback = ApiCallback.this; super(); } }