Skip to content

Commit

Permalink
Fixed a typo and removed an unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
pauel3312 committed Feb 27, 2024
1 parent 1a64dc5 commit 9b80f16
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import android.os.BatteryManager
import android.os.Bundle
import android.util.Log
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts.RequestPermission
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
Expand Down Expand Up @@ -181,7 +180,7 @@ private class ConnectThread(device: BluetoothDevice) : Thread() {
Log.d(TAG, "ConnectThread running")
bluetoothAdapter?.cancelDiscovery()

mmSockest?.let { socket ->
mmSocket?.let { socket ->
// Connect to the remote device through the socket. This call blocks
// until it succeeds or throws an exception.
var failureCounter = 0
Expand Down

0 comments on commit 9b80f16

Please sign in to comment.