FM: add JNI Support for SoftMute Command
Change-Id: I786ae5966864035da0e7682e58f6cb05663bc368
diff --git a/qcom/fmradio/FmReceiverJNI.java b/qcom/fmradio/FmReceiverJNI.java
index 1487b7c..3e39e9a 100644
--- a/qcom/fmradio/FmReceiverJNI.java
+++ b/qcom/fmradio/FmReceiverJNI.java
@@ -134,6 +134,13 @@
Log.d(TAG, "--enableSlimbusCallback" );
}
+ public void enableSoftMuteCallback(int status)
+ {
+ Log.d(TAG, "++enableSoftMuteCallback" );
+ FmReceiver.mCallback.FmRxEvEnableSoftMute(status);
+ Log.d(TAG, "--enableSoftMuteCallback" );
+ }
+
public void RtPlusCallback(byte[] rtplus) {
Log.d(TAG, "RtPlusCallback enter " );
if (rtplus == null) {
@@ -555,4 +562,5 @@
static native int setSpurDataNative(int fd, short buff[], int len);
static native void configurePerformanceParams(int fd);
static native int enableSlimbus(int fd, int val);
+ static native int enableSoftMute(int fd, int val);
}