diff options
-rw-r--r-- | src/com/android/settings/bluetooth/BluetoothNamePreference.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/BluetoothNamePreference.java b/src/com/android/settings/bluetooth/BluetoothNamePreference.java index c99ab4c998..ad425fccf8 100644 --- a/src/com/android/settings/bluetooth/BluetoothNamePreference.java +++ b/src/com/android/settings/bluetooth/BluetoothNamePreference.java @@ -40,7 +40,8 @@ import android.widget.EditText; */ public class BluetoothNamePreference extends EditTextPreference implements TextWatcher { 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; |