Fixes #11 (Waiting call + Hangup and Answer turns into held
call). Leaves code and TODO so we can get back to this.
gui_call_exit();
} else {
if (strcmp(reason, "local") == 0) {
+ /* Bug #11 says this shouldn't be done.
+ *
+ * TODO: talk to ofono devs and see what to do,
+ * maybe introuce ReleaseAndSwap()
+ */
+#if 0
/* If there is a held call and active is
* hangup we're left with held but no active,
* which is strange.
/* TODO: sound to notify user */
ofono_swap_calls(NULL, NULL);
}
+#endif
}
}
ctx->disconnected.call = NULL;