add
This commit is contained in:
parent
5743722fe2
commit
a73e12b48c
@ -375,7 +375,7 @@ class HardWareFragment : Fragment() {
|
||||
* 显示已配对设备弹窗
|
||||
*/
|
||||
private fun showPairedDevicesDialog() {
|
||||
dialogBlueTooth = dialogBlueTooth ?: DialogBlueTooth()
|
||||
dialogBlueTooth = dialogBlueTooth ?: DialogBlueTooth(type = 0)
|
||||
println("showBluetoothDialog" + AndInfo.instance.bluetooth.bondedDevices.size)
|
||||
dialogBlueTooth?.show(childFragmentManager, "BlueTooth1")
|
||||
}
|
||||
@ -394,7 +394,7 @@ class HardWareFragment : Fragment() {
|
||||
Toast.makeText(requireContext(), "请先开启蓝牙", Toast.LENGTH_SHORT).show()
|
||||
return
|
||||
}
|
||||
dialogNearBlueTooth = dialogNearBlueTooth ?: DialogBlueTooth()
|
||||
dialogNearBlueTooth = dialogNearBlueTooth ?: DialogBlueTooth(type = 1)
|
||||
println("showBluetoothDialog" + AndInfo.instance.bluetooth.bondedDevices.size)
|
||||
dialogNearBlueTooth?.show(childFragmentManager, "BlueTooth2")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user