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

Commit d2c4103e authored by Iris Chang's avatar Iris Chang
Browse files

Let application set reply MMS delivery report on or off

Some MMS applications have a settings option to allow user to set
reply MMS delivery to on or off. To support this, application will
set REPORT_ALLOWED into NofiyResp.
PduComposer.makeNofiyResp needs to be added REPORT_ALLOWED to make
application setting work.

Test: Set REPORT_ALLOWED in NotifyResp by application. It should be
contained in MMS PDU.
Bug: 143447617

Change-Id: I0ff4a875596efa2fd45f9e20bab880949651faac
parent 1859e648
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -745,7 +745,9 @@ public class PduComposer {
            return PDU_COMPOSE_CONTENT_ERROR;
        }

        // X-Mms-Report-Allowed Optional (not support)
        // X-Mms-Report-Allowed Optional
        appendHeader(PduHeaders.REPORT_ALLOWED);

        return PDU_COMPOSE_SUCCESS;
    }