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

Commit 45bbfee3 authored by Hemant Gupta's avatar Hemant Gupta
Browse files

MAP: Return OBEX_HTTP_NOT_IMPLEMENTED response code for msgUpdate

In MAP profile message update is not implemented for sms/mms, but
we are returning OBEX_HTTP_OK response code for message update put
request, which is causing PTS test case to fail. Hence returning
proper response code to pass pts.

Change-Id: I40a45cea2d85750583bb7ae205d1ff57fe806a4d
parent 818a6f8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ public class BluetoothMapObexServer extends ServerRequestHandler {
            if(V) {
                Log.d(TAG,"TYPE_MESSAGE_UPDATE:");
            }
            return ResponseCodes.OBEX_HTTP_OK;
            return ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED;
        }else if(type.equals(TYPE_SET_NOTIFICATION_REGISTRATION)) {
            if(V) {
                Log.d(TAG,"TYPE_SET_NOTIFICATION_REGISTRATION: NotificationStatus: " + appParams.getNotificationStatus());