fmapp2: Declared required libs usage
* Solves:
error: mismatch in the <uses-library> tags between the build system and the manifest:
- required libraries in build system: []
vs. in the manifest: [qcom.fmradio]
- optional libraries in build system: []
vs. in the manifest: []
- tags in the manifest (out/soong/.intermediates/vendor/qcom/opensource/fm-commonsys/fmapp2/FM2/android_common/manifest_fixer/AndroidManifest.xml):
<uses-library android:name="qcom.fmradio" android:required="true"/>
* Test: Package successfully builds
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Change-Id: I6d881f0eda1604fd1fcca7e879331c939940dbdf
diff --git a/fmapp2/Android.bp b/fmapp2/Android.bp
index 52361a9..e3d7177 100755
--- a/fmapp2/Android.bp
+++ b/fmapp2/Android.bp
@@ -4,6 +4,7 @@
name: "FM2",
srcs: ["src/com/caf/fmradio/CommaSeparatedFreqFileReader.java"] + ["src/com/caf/fmradio/FMAdapterApp.java"] + ["src/com/caf/fmradio/FMMediaButtonIntentReceiver.java"] + ["src/com/caf/fmradio/FMRadio.java"] + ["src/com/caf/fmradio/FMRadioService.java"] + ["src/com/caf/fmradio/FmSharedPreferences.java"] + ["src/com/caf/fmradio/FMStats.java"] + ["src/com/caf/fmradio/FmTags.java"] + ["src/com/caf/fmradio/GetNextFreqInterface.java"] + ["src/com/caf/fmradio/HorizontalNumberPicker.java"] + ["src/com/caf/fmradio/PresetList.java"] + ["src/com/caf/fmradio/PresetStation.java"] + ["src/com/caf/fmradio/Settings.java"] + ["src/com/caf/fmradio/StationListActivity.java"] + ["src/com/caf/fmradio/IFMRadioService.aidl"] + ["src/com/caf/fmradio/IFMRadioServiceCallbacks.aidl"] + ["src/com/caf/fmradio/IFMTransmitterServiceCallbacks.aidl"] + ["src/com/caf/hc_utils/**/*.java"],
+ uses_libs: ["qcom.fmradio"],
certificate: "platform",
jni_libs: ["libqcomfm_jni"],
libs: ["qcom.fmradio"],