// 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; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.widget.ArrayAdapter; // Referenced classes of package com.oliodevices.assist.app: // DeviceListActivity class this._cls0 extends BroadcastReceiver { final DeviceListActivity this$0; public void onReceive(Context context, Intent intent) { context = intent.getAction(); if ("android.bluetooth.device.action.FOUND".equals(context)) { context = (BluetoothDevice)intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"); if (context.getBondState() != 12) { DeviceListActivity.access$200(DeviceListActivity.this).add((new StringBuilder()).append(context.getName()).append("\n").append(context.getAddress()).toString()); } } else if ("android.bluetooth.adapter.action.DISCOVERY_FINISHED".equals(context)) { setProgressBarIndeterminateVisibility(false); setTitle("Select a device to connect"); if (DeviceListActivity.access$200(DeviceListActivity.this).getCount() == 0) { DeviceListActivity.access$200(DeviceListActivity.this).add("No devices found"); return; } } } () { this$0 = DeviceListActivity.this; super(); } }