// 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.os.Handler; import android.support.v4.app.FragmentActivity; import com.olio.olios.model.loaders.UserLoaderConfig; import com.olio.olios.model.record.SerializedRecord; import com.olio.util.ALog; import java.util.List; // Referenced classes of package com.oliodevices.assist.app.fragments: // ConfigWatchFragment class this._cls1 implements Runnable { final is._cls0 this$1; public void run() { ALog.d("registering DoNotDisturb loader", new Object[0]); ConfigWatchFragment.access$1300(_fld0).register(); } is._cls0() { this$1 = this._cls1.this; super(); } // Unreferenced inner class com/oliodevices/assist/app/fragments/ConfigWatchFragment$15 /* anonymous class */ class ConfigWatchFragment._cls15 implements Runnable { final ConfigWatchFragment this$0; public void run() { android.content.ContentResolver contentresolver = getActivity().getContentResolver(); List list = SerializedRecord.getByType("do-not-disturb", null, contentresolver); if (list != null) { if (list.size() > 1) { ALog.d("more than 1 record", new Object[0]); } else if (list.size() == 1) { ALog.d("1 record found", new Object[0]); } else { ALog.d("0 records found", new Object[0]); } } else { ALog.d("no records found", new Object[0]); } if (list != null && list.size() > 1) { ALog.w("More than 1 record saved. Deleting all...", new Object[0]); SerializedRecord.deleteByType("do-not-disturb", contentresolver); } ConfigWatchFragment.access$1400(ConfigWatchFragment.this).post(new ConfigWatchFragment._cls15._cls1()); } { this$0 = ConfigWatchFragment.this; super(); } } }