summaryrefslogtreecommitdiffstats
path: root/ril/libsecril-client/secril-client.cpp
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2016-03-08 15:50:23 +0100
committerChristopher N. Hesse <raymanfx@gmail.com>2016-03-08 15:50:23 +0100
commit57eaccad6b342ce5bbeb02ce06121670f186e1b9 (patch)
treebbaff1cbb7b74cb0654342c6aafc0c2028f37666 /ril/libsecril-client/secril-client.cpp
parent621e63ea3e1e1370d1e3f7779ab2ebf3369adb6b (diff)
downloadandroid_hardware_samsung-57eaccad6b342ce5bbeb02ce06121670f186e1b9.tar.gz
android_hardware_samsung-57eaccad6b342ce5bbeb02ce06121670f186e1b9.tar.bz2
android_hardware_samsung-57eaccad6b342ce5bbeb02ce06121670f186e1b9.zip
libsecril-client: Use the correct incall audio paths
The modems used in recent Samsung devices use different paths than older devices apparently. These values were extracted from hexdumps at the correct data positions from the device specific libsecril-client.so blobs. Change-Id: I0547cb1de40130843fee3f1310e1e6aed95195c7
Diffstat (limited to 'ril/libsecril-client/secril-client.cpp')
-rwxr-xr-xril/libsecril-client/secril-client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ril/libsecril-client/secril-client.cpp b/ril/libsecril-client/secril-client.cpp
index e927122..5cfea70 100755
--- a/ril/libsecril-client/secril-client.cpp
+++ b/ril/libsecril-client/secril-client.cpp
@@ -84,7 +84,7 @@ namespace android {
#define OEM_SND_TYPE_HEADSET 0x31 // Headset(0x30) + Voice(0x01)
#define OEM_SND_TYPE_BTVOICE 0x41 // BT(0x40) + Voice(0x01)
-#ifdef MODEM_TYPE_XMM7260
+#ifdef SAMSUNG_NEXT_GEN_MODEM
#define OEM_SND_AUDIO_PATH_HANDSET 0x01
#define OEM_SND_AUDIO_PATH_HEADSET 0x02
#define OEM_SND_AUDIO_PATH_HFK 0x06