am b0fda6f5: Reduce max BT device length to 246 bytes due to Bluez bug. (DO NOT MERGE)

* commit 'b0fda6f56a0ee3c42cf02813b5fc346382873c4f':
  Reduce max BT device length to 246 bytes due to Bluez bug. (DO NOT MERGE)
This commit is contained in:
Jake Hamby
2010-12-04 23:45:23 -08:00
committed by Android Git Automerger

View File

@@ -40,7 +40,8 @@ import android.widget.EditText;
*/ */
public class BluetoothNamePreference extends EditTextPreference implements TextWatcher { public class BluetoothNamePreference extends EditTextPreference implements TextWatcher {
private static final String TAG = "BluetoothNamePreference"; private static final String TAG = "BluetoothNamePreference";
private static final int BLUETOOTH_NAME_MAX_LENGTH_BYTES = 248; // max. length reduced from 248 to 246 bytes to work around Bluez bug
private static final int BLUETOOTH_NAME_MAX_LENGTH_BYTES = 246;
private LocalBluetoothManager mLocalManager; private LocalBluetoothManager mLocalManager;