1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-21 16:02:04 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate
2018-04-15 12:00:49 +02:00

View File

@@ -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();
}