Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c
If the tech is not CDMA, it will fall-through to the default case.
But the new added RIL_REQUEST_GET_CELL_INFO_LIST and RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE
cases will intercept it and cause the request call into wrong request functions.
Move these two new requests before the CDMA cases to fix the logic issue.
Signed-off-by: Jun Tian <email@example.com>
Signed-off-by: Panfeng Chang <firstname.lastname@example.org>
Signed-off-by: Yanglin Zhu <email@example.com>
Signed-off-by: Jackie Wu <firstname.lastname@example.org>
1 file changed