yplo6403 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Error management of OptionsRequestTask sendOptions is not good #252

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In OptionsRequestTask sendOptions(), we have :
SipTransactionContext ctx = 
imsModule.getSipManager().sendSipMessageAndWait(options);
if (ctx.isSipResponse()) {
    ....
} else {
    handleUserNotRegistered(ctx);
}

If we are in this case with a non RCS contact, then it will be marked as RCS.

The correction is just to use handleError instead of handleUserNotRegistered

Original issue reported on code.google.com by benoit.j...@gmail.com on 21 Mar 2014 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by benoit.j...@gmail.com on 21 Mar 2014 at 8:08