// 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.fragments; import android.support.v4.app.FragmentActivity; import com.olio.data.object.assistant.rule.Rule; import com.oliodevices.assist.app.api.models.AutomaticReplyRuleWrapper; import com.oliodevices.assist.app.api.models.EditableRule; import com.oliodevices.assist.app.api.models.RemindMeLaterRuleWrapper; import com.oliodevices.assist.app.api.models.SilenceNotificationsRuleWrapper; import com.oliodevices.assist.app.views.RuleOption; // Referenced classes of package com.oliodevices.assist.app.fragments: // RulesFragment, RuleEditorFragment, RulesByTagFragment class val.editableRule implements com.oliodevices.assist.app.views.r { final RulesFragment this$0; final EditableRule val$editableRule; public void onEdit() { RuleEditorFragment ruleeditorfragment = RuleEditorFragment.newInstance(val$editableRule.getRuleType(), val$editableRule.getId()); startFragment(ruleeditorfragment); } public void onRuleEnabled(EditableRule editablerule) { boolean flag; if (!editablerule.isEnabled()) { flag = true; } else { flag = false; } editablerule.setIsEnabled(flag); editablerule.getRuleType(); JVM INSTR tableswitch 1 2: default 48 // 1 76 // 2 87; goto _L1 _L2 _L3 _L1: editablerule = ((SilenceNotificationsRuleWrapper)editablerule).getRule(); _L5: editablerule.save(getActivity().getContentResolver()); return; _L2: editablerule = ((AutomaticReplyRuleWrapper)editablerule).getRule(); continue; /* Loop/switch isn't completed */ _L3: editablerule = ((RemindMeLaterRuleWrapper)editablerule).getRule(); if (true) goto _L5; else goto _L4 _L4: } public void onTokenClick(RuleOption ruleoption) { ruleoption = RulesByTagFragment.newInstance(ruleoption); startFragment(ruleoption); } nt() { this$0 = final_rulesfragment; val$editableRule = EditableRule.this; super(); } }