mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: FMRadio: Futher improve code
* Using enum classes for various statuses for good readability * Implement favorite channel saving which was missing * Use Kotlin coroutines again for refreshing channel list button, for faster UI response * Added javadoc for better functions description * Also, code native audio routing system on jni (fm_route.cpp) Change-Id: I993c88fdb580248d8a55efd8e9b6fed0e36d9b24 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
2648c647fc
commit
9443bdc315
17 changed files with 312 additions and 142 deletions
|
|
@ -1,9 +1,12 @@
|
|||
cc_library_shared {
|
||||
name: "libfmioctl_jni",
|
||||
name: "libfmnative_jni",
|
||||
cflags: [
|
||||
"-Wno-unused-parameter",
|
||||
],
|
||||
srcs: ["fm_ioctl.cpp"],
|
||||
srcs: [
|
||||
"fm_ioctl.cpp",
|
||||
"fm_route.cpp",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
|
|
@ -11,7 +14,19 @@ cc_library_shared {
|
|||
"vendor.eureka.hardware.fmradio@1.0",
|
||||
"vendor.eureka.hardware.fmradio@1.1",
|
||||
"vendor.eureka.hardware.fmradio@1.2",
|
||||
"audioflinger-aidl-cpp",
|
||||
"audiopolicy-aidl-cpp",
|
||||
"audiopolicy-types-aidl-cpp",
|
||||
"libaudiofoundation",
|
||||
"libaudioutils",
|
||||
"libaudioclient",
|
||||
"libutils",
|
||||
"libaudiopolicy",
|
||||
"libaudiomanager",
|
||||
],
|
||||
header_libs: [
|
||||
"libaudioclient_headers",
|
||||
"jni_headers",
|
||||
],
|
||||
header_libs: ["jni_headers"],
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue