// 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.detectors; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.telephony.TelephonyManager; import com.olio.util.ALog; import java.lang.reflect.Method; // Referenced classes of package com.oliodevices.assist.app.detectors: // PhoneDetector private class extends BroadcastReceiver { final PhoneDetector this$0; public void onReceive(Context context, Intent intent) { ALog.d("Received phone notification action.", new Object[0]); try { context = (TelephonyManager)context.getSystemService("phone"); intent = Class.forName(context.getClass().getName()).getDeclaredMethod("getITelephony", new Class[0]); intent.setAccessible(true); context = ((Context) (intent.invoke(context, new Object[0]))); intent = Class.forName(context.getClass().getName()).getDeclaredMethod("answerRingingCall", new Class[0]); intent.setAccessible(true); intent.invoke(context, new Object[0]); return; } // Misplaced declaration of an exception variable catch (Context context) { ALog.e("Could not access telephony manager functions", context, new Object[0]); } } private () { this$0 = PhoneDetector.this; super(); } this._cls0(this._cls0 _pcls0) { this(); } }