@@ -292,7 +292,11 @@ public class BluetoothDialog { | |||
// mBackgroundHandler.post(new Runnable() { | |||
// @Override | |||
// public void run() { | |||
connectDevice(plkCallBack, list.get(position)); | |||
if (list.size()>0){ | |||
connectDevice(plkCallBack, list.get(position)); | |||
}else { | |||
toast("未获取到设备,请重新配对"); | |||
} | |||
// } | |||
// }); | |||
// new Thread(() -> { |