// 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.content.ContentResolver; import android.os.Handler; import android.widget.RadioButton; import android.widget.RadioGroup; import com.olio.data.object.bluetooth_status.BluetoothNotificationObserver; import com.olio.data.object.bluetooth_status.BluetoothStatus; import com.olio.util.ALog; import com.oliodevices.assist.app.views.WatchStatusView; // Referenced classes of package com.oliodevices.assist.app.fragments: // ConfigWatchFragment class bserver.Platform extends BluetoothNotificationObserver { final ConfigWatchFragment this$0; public void connectionStatusUpdate(com.olio.data.object.bluetooth_status.server.ConnectionStatusChange connectionstatuschange) { ConfigWatchFragment configwatchfragment = ConfigWatchFragment.this; boolean flag; if (connectionstatuschange == com.olio.data.object.bluetooth_status.server.ConnectionStatusChange.CONNECTED) { flag = true; } else { flag = false; } configwatchfragment.mIsConnected = flag; if (mIsConnected) { connectionstatuschange = "CONNECTED"; } else { connectionstatuschange = "DISCONNECTED"; } ALog.i("connectionStatusUpdate %s", new Object[] { connectionstatuschange }); mWatchStatus.setConnected(mIsConnected); mTimeModeSelector.setEnabled(mIsConnected); mTimeModeAnalog.setEnabled(mIsConnected); mTimeModeDigital.setEnabled(mIsConnected); if (!mIsConnected) { mWatchStatus.setDND(false); if (ConfigWatchFragment.access$1200(ConfigWatchFragment.this)) { mWatchStatus.setBatteryLevel(0); mWatchStatus.setCharging(false); } } } public void statusUpdate(BluetoothStatus bluetoothstatus) { ALog.v("statusUpdate", new Object[0]); if (bluetoothstatus.getRadioStatus() == 10) { mWatchStatus.setConnected(false); } } bserver.Platform(ContentResolver contentresolver, Handler handler, com.olio.data.object.bluetooth_status.server.Platform platform) { this$0 = ConfigWatchFragment.this; super(contentresolver, handler, platform); } }