mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
libril: Force static radio capability
Force the ril to return REQUEST_NOT_SUPPORTED error on getRadioCapability request. Android handles the error and makes static radio capability for us, based on our config_radio_access_family overlay. * Fixes network mode switch
This commit is contained in:
parent
c2d7884f73
commit
605937f3b3
1 changed files with 2 additions and 1 deletions
|
@ -2565,7 +2565,8 @@ Return<void> RadioImpl::getRadioCapability(int32_t serial) {
|
|||
#if VDBG
|
||||
RLOGD("getRadioCapability: serial %d", serial);
|
||||
#endif
|
||||
dispatchVoid(serial, mSlotId, RIL_REQUEST_GET_RADIO_CAPABILITY);
|
||||
RequestInfo *pRI = android::addRequestToList(serial, mSlotId, RIL_REQUEST_GET_RADIO_CAPABILITY);
|
||||
sendErrorResponse(pRI, RIL_E_REQUEST_NOT_SUPPORTED);
|
||||
return Void();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue