mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 14:05:19 +00:00
android compiles
This commit is contained in:
@@ -107,19 +107,19 @@ class BluetoothConnectionManager(
|
||||
// Start power manager
|
||||
powerManager.start()
|
||||
|
||||
// Start server manager
|
||||
if (!serverManager.start()) {
|
||||
Log.e(TAG, "Failed to start server manager")
|
||||
this@BluetoothConnectionManager.isActive = false
|
||||
return@launch
|
||||
}
|
||||
// // Start server manager
|
||||
// if (!serverManager.start()) {
|
||||
// Log.e(TAG, "Failed to start server manager")
|
||||
// this@BluetoothConnectionManager.isActive = false
|
||||
// return@launch
|
||||
// }
|
||||
|
||||
// Start client manager
|
||||
if (!clientManager.start()) {
|
||||
Log.e(TAG, "Failed to start client manager")
|
||||
this@BluetoothConnectionManager.isActive = false
|
||||
return@launch
|
||||
}
|
||||
// // Start client manager
|
||||
// if (!clientManager.start()) {
|
||||
// Log.e(TAG, "Failed to start client manager")
|
||||
// this@BluetoothConnectionManager.isActive = false
|
||||
// return@launch
|
||||
// }
|
||||
|
||||
Log.i(TAG, "Bluetooth services started successfully")
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user