mirror of
https://github.com/S3NEO/android_device_samsung_matissewifi.git
synced 2024-10-31 19:37:29 +00:00
klte: Convert init extension to C++
Change-Id: Ieb141933c4412ddd6ca14ce756f767ed8a48c542
This commit is contained in:
parent
e0a46d5751
commit
23e2ab70f2
2 changed files with 8 additions and 8 deletions
|
@ -23,7 +23,7 @@ TARGET_KERNEL_VARIANT_CONFIG := msm8974pro_sec_klte_eur_defconfig
|
|||
|
||||
# Init
|
||||
TARGET_INIT_VENDOR_LIB := libinit_msm
|
||||
TARGET_LIBINIT_DEFINES_FILE := device/samsung/klte/init/init_klte.c
|
||||
TARGET_LIBINIT_DEFINES_FILE := device/samsung/klte/init/init_klte.cpp
|
||||
TARGET_UNIFIED_DEVICE := true
|
||||
|
||||
# NFC
|
||||
|
|
|
@ -36,6 +36,13 @@
|
|||
|
||||
#include "init_msm.h"
|
||||
|
||||
void gsm_properties()
|
||||
{
|
||||
property_set("telephony.lteOnGsmDevice", "1");
|
||||
property_set("ro.telephony.default_network", "9");
|
||||
property_set("ro.telephony.ril.config", "newDialCode");
|
||||
}
|
||||
|
||||
void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *board_type)
|
||||
{
|
||||
char platform[PROP_VALUE_MAX];
|
||||
|
@ -109,10 +116,3 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
|
|||
strlcpy(devicename, device, sizeof(devicename));
|
||||
INFO("Found bootloader id %s setting build properties for %s device\n", bootloader, devicename);
|
||||
}
|
||||
|
||||
void gsm_properties()
|
||||
{
|
||||
property_set("telephony.lteOnGsmDevice", "1");
|
||||
property_set("ro.telephony.default_network", "9");
|
||||
property_set("ro.telephony.ril.config", "newDialCode");
|
||||
}
|
Loading…
Reference in a new issue