This commit is contained in:
Dennis Guse
2020-01-04 22:29:32 +01:00
parent b4d5eb0eec
commit 543a04dfdd
6 changed files with 119 additions and 145 deletions
@@ -60,7 +60,7 @@ public class BluetoothUtils {
while (adapters.isEmpty()) {
synchronized (mutex) {
try {
mutex.wait(UnitConversions.ONE_SECOND);
mutex.wait(UnitConversions.ONE_SECOND_MS);
} catch (InterruptedException e) {
Log.e(TAG, "Interrupted while waiting for default bluetooth adapter", e);
}