Skip to content

Commit

Permalink
Fix XamBug 16819 due to enum parameter change
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcollins committed Feb 25, 2014
1 parent bfec19a commit 439e231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BluetoothLeGatt/BluetoothLeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ public override void OnConnectionStateChange (BluetoothGatt gatt, GattStatus sta
Log.Info (BluetoothLeService.TAG, "Connected to GATT server.");
// Attempts to discover services after successful connection.
Log.Info (BluetoothLeService.TAG, "Attempting to start service discovery:" +
BluetoothLeService.mBluetoothGatt.DiscoverServices ());
BluetoothLeService.mBluetoothGatt.DiscoverServices ());

} else if (newState == (int) ProfileState.Disconnected) {
} else if (newState == ProfileState.Disconnected) {
intentAction = BluetoothLeService.ACTION_GATT_DISCONNECTED;
BluetoothLeService.mConnectionState = State.Disconnected;
Log.Info (BluetoothLeService.TAG, "Disconnected from GATT server.");
Expand Down

0 comments on commit 439e231

Please sign in to comment.