Skip to content

Commit

Permalink
Revert "Compilation Fix"
Browse files Browse the repository at this point in the history
This reverts commit 6773aa7.
  • Loading branch information
Alberto97 committed May 27, 2015
1 parent c08f80b commit 1fb8847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/bluetooth/map/BluetoothMapSmsPdu.java
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public static ArrayList<SmsPdu> 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;
Expand Down

0 comments on commit 1fb8847

Please sign in to comment.