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

Commit 641bb3d8 authored by Tammo Spalink's avatar Tammo Spalink
Browse files

expose (but still hide) sms user data headers

parent f5df8303
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -517,9 +517,14 @@ public class SmsMessage {
        return mWrappedSmsMessage.getUserData();
    }

    /* Not part of the SDK interface and only needed by specific classes:
       protected SmsHeader getUserDataHeader()
    /**
     * Return the user data header (UDH).
     *
     * @hide
     */
    public SmsHeader getUserDataHeader() {
        return mWrappedSmsMessage.getUserDataHeader();
    }

    /**
     * Returns the raw PDU for the message.
+0 −2
Original line number Diff line number Diff line
@@ -637,8 +637,6 @@ public class SmsMessage extends SmsMessageBase{
        /**
         * Returns an object representing the user data headers
         *
         * @return an object representing the user data headers
         *
         * {@hide}
         */
        SmsHeader getUserDataHeader() {