mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-20 07:21:40 +02:00
Quick-and-dirty workaround for #244
until I get some time to look into.
This commit is contained in:
@@ -300,7 +300,7 @@ public class BluetoothPreferences extends PreferenceFragment {
|
||||
switch (requestCode) {
|
||||
case PermissionHelper.PERMISSIONS_REQUEST_ACCESS_COARSE_LOCATION: {
|
||||
if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
|
||||
startBluetoothDiscovery();
|
||||
//startBluetoothDiscovery();
|
||||
} else {
|
||||
Toast.makeText(getActivity(), R.string.permission_not_granted, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user