Commit f05bad7d authored by Chippa-a's avatar Chippa-a Committed by Bernhard Thoben
Browse files

kitakami-common: libril: Properly send fake success event for manual network registration

Fixes c522daa39a19653144c5d16210b95185c2b89465 port for Android O RIL stack.

Change-Id: I733718c66553b48e012a4af66cc41003a4f212e0
parent 10906e20
......@@ -620,6 +620,20 @@ bool dispatchStrings(int serial, int slotId, int request, bool allowEmpty, int c
#endif
free(pStrings);
}
/**
* Sony 8960 RIL stack compatibility
* Qualcomm's RIL doesn't seem to issue any callbacks for opcode 47
* This may be a bug on how we call rild or simply some proprietary 'feature'
* ..and we don't care: We simply send a SUCCESS message back to the caller to
* indicate that we received the command & unblock the UI.
* The user will still see if the registration was OK by using the
* normal signal meter
*/
if (request == RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL) {
RLOGE("Sending fake success event for request %s", requestToString(request));
RIL_onRequestComplete(pRI, RIL_E_SUCCESS, NULL, 0);
}
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment