diff options
author | Ayaz Ahmad <aahmad@codeaurora.org> | 2013-09-23 11:50:59 +0530 |
---|---|---|
committer | Ayaz Ahmad <aahmad@codeaurora.org> | 2013-09-29 20:17:25 +0530 |
commit | 05debe61165048b7de63e9386f23d1e6913a1358 (patch) | |
tree | 88caf450ecfc4ad67777e5745c9654b1bba10d9d /jni | |
parent | 4974540d115974fbd44afbc1f6195c1599c893ef (diff) | |
download | android_hardware_qcom_fm-05debe61165048b7de63e9386f23d1e6913a1358.tar.gz android_hardware_qcom_fm-05debe61165048b7de63e9386f23d1e6913a1358.tar.bz2 android_hardware_qcom_fm-05debe61165048b7de63e9386f23d1e6913a1358.zip |
FM: kitkat bringup changes vendor-qcom-opensource-fm
Inorder to get a property we must use some fixed memory
length memory block.
Change-Id: Id3455e85435f6beb91adee959ff25fd105ed9aa8
Diffstat (limited to 'jni')
-rw-r--r-- | jni/android_hardware_fm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/android_hardware_fm.cpp b/jni/android_hardware_fm.cpp index 7068b83..4dcb51a 100644 --- a/jni/android_hardware_fm.cpp +++ b/jni/android_hardware_fm.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012, The Linux Foundation. All rights reserved. + * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -415,7 +415,7 @@ static jint android_hardware_fmradio_FmReceiverJNI_setNotchFilterNative(JNIEnv * { char value[PROPERTY_VALUE_MAX] = {'\0'}; int init_success = 0,i; - char notch[20] = {0x00}; + char notch[PROPERTY_VALUE_MAX] = {0x00}; struct v4l2_control control; int err; /*Enable/Disable the WAN avoidance*/ |