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

Commit 40acd63f authored by Thomas Nguyen's avatar Thomas Nguyen Committed by Automerger Merge Worker
Browse files

Merge "Add one new method is3gpp" am: 22d665d6

parents 247cc83d 22d665d6
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1030,6 +1030,15 @@ public class SmsMessage {
        return mWrappedSmsMessage.getReceivedEncodingType();
    }

    /**
     * Check if format of the message is 3GPP.
     *
     * @hide
     */
    public boolean is3gpp() {
        return (mWrappedSmsMessage instanceof com.android.internal.telephony.gsm.SmsMessage);
    }

    /**
     * Determines whether or not to use CDMA format for MO SMS.
     * If SMS over IMS is supported, then format is based on IMS SMS format,