Suppress build warning for deprecated getInput()

Bug: 27170398
Bug: 27927835
Change-Id: If5de529000df01ee9d2a7dcb82227ee6ecc6b407
diff --git a/src/jni/rtp/Android.mk b/src/jni/rtp/Android.mk
index 7d0898b..3401d9e 100644
--- a/src/jni/rtp/Android.mk
+++ b/src/jni/rtp/Android.mk
@@ -53,6 +53,7 @@
 	frameworks/av/media/libstagefright/codecs/amrnb/dec/src \
 	$(call include-path-for, audio-effects)
 
-LOCAL_CFLAGS += -fvisibility=hidden -Wall -Wextra
+# getInput() is deprecated but we want to continue to track the usage of it elsewhere
+LOCAL_CFLAGS += -fvisibility=hidden -Wall -Wextra -Wno-deprecated-declarations -Werror
 
 include $(BUILD_SHARED_LIBRARY)