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

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

Move SMS_RECORD_LENGTH to SmsManager

am: cbc5162e

Change-Id: I7826708905c013c7b745d346b5dff51a11657165
parents aee9fb1c cbc5162e
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";