From 1fb8847e3e4fb8d0f5d8939fd0f64a78d54a8565 Mon Sep 17 00:00:00 2001 From: Alberto97 Date: Wed, 27 May 2015 19:48:11 +0200 Subject: [PATCH] Revert "Compilation Fix" This reverts commit 6773aa72bcd0ebbc2a3005fb382b9bb64e5be180. --- src/com/android/bluetooth/map/BluetoothMapSmsPdu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java b/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java index bf91a56d..caf8b02e 100644 --- a/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java +++ b/src/com/android/bluetooth/map/BluetoothMapSmsPdu.java @@ -471,7 +471,7 @@ public static ArrayList getSubmitPdus(String messageText, String address 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;