diff options
Diffstat (limited to 'src/com/android/bluetooth/map/BluetoothMapContent.java')
-rw-r--r-- | src/com/android/bluetooth/map/BluetoothMapContent.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapContent.java b/src/com/android/bluetooth/map/BluetoothMapContent.java index 62c90a9bc..2d27c6b87 100644 --- a/src/com/android/bluetooth/map/BluetoothMapContent.java +++ b/src/com/android/bluetooth/map/BluetoothMapContent.java @@ -1242,6 +1242,8 @@ public class BluetoothMapContent { } if (subject != null && subject.length() > subLength) { subject = subject.substring(0, subLength); + } else if (subject == null ) { + subject = ""; } if (V) Log.d(TAG, "setSubject: " + subject); e.setSubject(subject); |