From 05debe61165048b7de63e9386f23d1e6913a1358 Mon Sep 17 00:00:00 2001 From: Ayaz Ahmad Date: Mon, 23 Sep 2013 11:50:59 +0530 Subject: 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 --- jni/android_hardware_fm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jni') 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*/ -- cgit v1.2.3