Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af7c3801 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Move SMS_RECORD_LENGTH to SmsManager am: cbc5162e

am: 000b4c40

Change-Id: I7652629be39b36a09706b99434aba9db92d2fa7e
parents 59dc8a95 000b4c40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -604,9 +604,9 @@ public class IccSmsInterfaceManager {
    protected byte[] makeSmsRecordData(int status, byte[] pdu) {
        byte[] data;
        if (PhoneConstants.PHONE_TYPE_GSM == mPhone.getPhoneType()) {
            data = new byte[IccConstants.SMS_RECORD_LENGTH];
            data = new byte[SmsManager.SMS_RECORD_LENGTH];
        } else {
            data = new byte[IccConstants.CDMA_SMS_RECORD_LENGTH];
            data = new byte[SmsManager.CDMA_SMS_RECORD_LENGTH];
        }

        // Status bits for this record.  See TS 51.011 10.5.3
+0 −5
Original line number Diff line number Diff line
@@ -97,11 +97,6 @@ public interface IccConstants {
    //Search interval for higher priority PLMNs
    static final int EF_HPPLMN = 0x6F31;

    // SMS record length from TS 51.011 10.5.3
    static public final int SMS_RECORD_LENGTH = 176;
    // SMS record length from C.S0023 3.4.27
    static public final int CDMA_SMS_RECORD_LENGTH = 255;

    static final String MF_SIM = "3F00";
    static final String DF_TELECOM = "7F10";
    static final String DF_PHONEBOOK = "5F3A";