mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
ril: Add support for imsType parcel member
This is needed for Samsung devices like the Galaxy A5 2017. Change-Id: I3b89cf8ac232fef5629b439dbf5d2f21bdb264a2
This commit is contained in:
parent
ffe632e356
commit
7f2c1bf988
2 changed files with 8 additions and 0 deletions
|
@ -54,6 +54,10 @@ ifeq ($(BOARD_NEEDS_ROAMING_PROTOCOL_FIELD), true)
|
|||
LOCAL_CFLAGS += -DNEEDS_ROAMING_PROTOCOL_FIELD
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD_NEEDS_IMS_TYPE_FIELD), true)
|
||||
LOCAL_CFLAGS += -DNEEDS_IMS_TYPE_FIELD
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
|
||||
LOCAL_C_INCLUDES += external/nanopb-c
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
|
||||
|
|
|
@ -1948,6 +1948,10 @@ Return<void> RadioImpl::setInitialAttachApn(int32_t serial, const DataProfileInf
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef NEEDS_IMS_TYPE_FIELD
|
||||
iaa.imsType = 0;
|
||||
#endif
|
||||
|
||||
CALL_ONREQUEST(RIL_REQUEST_SET_INITIAL_ATTACH_APN, &iaa, sizeof(iaa), pRI, mSlotId);
|
||||
|
||||
memsetAndFreeStrings(4, iaa.apn, iaa.protocol, iaa.username, iaa.password);
|
||||
|
|
Loading…
Reference in a new issue