Closed adderek closed 8 years ago
Returning a null when bluetooth is not supported seems to kinda solve the issue (there are errors inside the app but at least it does not crash).
I have just noticed that the issue is in wrong place - should be in ossw-android. sorry for that
Hi, When the app is started without bluetooth available and user goes to "Watches" menu, then crash will occur: Source at revision: b3ef444 "0.5.0-beta2 release" Cause: DeviceScanFragment.java::onCreateView
if (!mBluetoothAdapter.isEnabled()) { Toast.makeText(...); }
if (!mBluetoothAdapter.isEnabled()) { ...}
App continue to run even when the mBluetoothAdapter is null and it tries to call isEnabled method of NULL.