summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
diff options
context:
space:
mode:
authorDivya Sharma <c_shard@codeaurora.org>2015-02-26 02:10:10 -0800
committerSudhir Sharma <sudhshar@codeaurora.org>2015-03-10 15:29:28 -0700
commit490414ca1197017ccc3b4bf9dc75f673e49c6787 (patch)
tree30305740d7998a1a39b021942023cc6d21876f3b /src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
parent9d81dc62517d86b1fccc65bcf87193819ce7c66d (diff)
downloadandroid_packages_apps_Bluetooth-490414ca1197017ccc3b4bf9dc75f673e49c6787.tar.gz
android_packages_apps_Bluetooth-490414ca1197017ccc3b4bf9dc75f673e49c6787.tar.bz2
android_packages_apps_Bluetooth-490414ca1197017ccc3b4bf9dc75f673e49c6787.zip
Compilation fix for bluetooth
Change-Id: I4fb839a8b2c8444ff3c3fcb5b1305ff65b7455f8
Diffstat (limited to 'src/com/android/bluetooth/map/BluetoothMapSmsPdu.java')
-rw-r--r--src/com/android/bluetooth/map/BluetoothMapSmsPdu.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java b/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
index bf91a56de..caf8b02e3 100644
--- a/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
+++ b/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
@@ -471,7 +471,7 @@ public class BluetoothMapSmsPdu {
int activePhone = TelephonyManager.getDefault().getCurrentPhoneType(); // TODO: Change to use: ((TelephonyManager)myContext.getSystemService(Context.TELEPHONY_SERVICE))
int phoneType;
GsmAlphabet.TextEncodingDetails ted = (PHONE_TYPE_CDMA == activePhone) ?
- com.android.internal.telephony.cdma.SmsMessage.calculateLength((CharSequence)messageText, false, true) :
+ com.android.internal.telephony.cdma.SmsMessage.calculateLength((CharSequence)messageText, false) :
com.android.internal.telephony.gsm.SmsMessage.calculateLength((CharSequence)messageText, false);
SmsPdu newPdu;