Commit graph android_device_samsung_a20/universal7885-common/apps/FMRadio/Android.bp
Author SHA1 Message Date
roynatech2544
95e7624f55 universal7885: FMRadio: Switch to FM V3 aidl interface 2022-10-31 22:31:49 +09:00
roynatech2544
1fd4442a64 universal7885: fm-app: Refactor 2022-10-22 11:40:37 +09:00
roynatech2544
65fa2766f4 universal7885: aidl-support: Make a stable version 2022-10-09 05:23:21 +00:00
roynatech2544
946f4768e9 universal7885: FMRadio: Remove source edit
If the AIDL hal which can be allowed to change uid calls audioflinger API to change route, we don't need to change source for it. seteuid(audioserver_uid) will work fine
2022-10-08 01:12:37 +09:00
roynatech2544
365fa56736 universal7885: FMRadio: Adapt to AIDL 2022-10-06 14:11:09 +00:00
roynatech2544
839dc3ae4c universal7885: fm-aidl: Move ioctl code to hal 2022-10-06 10:21:42 +00:00
roynatech2544
7d0a8dc3d0 universal7885: apps: Update dependency names 2022-10-05 09:59:38 +00:00
roynatech2544
be82ebd1fe
universal7885: bpfmt 2022-05-20 18:37:24 +09:00
roynatech2544
3aff7935f2
universal7885: FMRadio: Remove from priv-apps
* Allow users to disable it if they don't want
2022-04-14 18:19:41 +09:00
roynatech2544
cae95b3c27
universal7885: FMRadio: Drop unused permission
* Also drop privapp permissions
2022-04-12 18:28:07 +09:00
roynatech2544
9443bdc315
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>
2022-03-22 19:05:31 +09:00
roynatech2544
2648c647fc
universal7885: Add missing dependency, fix some code for AOSP 2022-03-22 19:05:31 +09:00
Soo-Hwan Na
bfe69c8347
universal7885: FMRadio: Switch to lastest material lib 2022-03-22 19:05:31 +09:00
roynatech2544
0803fadf47
universal7885: FMRadio: Use kotlinx.cororutines library
* Background thread handle system
2022-03-22 19:05:31 +09:00
roynatech2544
308a5d49c8
universal7885: Add Material you reworked FM app
* UI and function improvements

Change-Id: Ia1ea7aa0caf0ac3838e285952e9be7e79b946e80
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:30 +09:00
roynatech2544
e07865c670
universal7885: interfaces: Implement FMRadio HAL V1.2
* Also, track our fork of OneUI theme lib

* Implement read from sysfs interface which can fix channel searching on some cases

* Commit link: fead45ba0e

Change-Id: I81532b7f8169637fdcad0f678790a2b1f1888ecc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
Soo-Hwan Na
ffaf807401
universal7885: FMRadio: Make volume delay to 4s
* 1.5s -> 4s
* Also, remove undeclared dependency

Change-Id: Ieff232fd776e52abfbc617495298ab27afd021d1
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
315e8a18d4
universal7885: FMRadio: Don't run r8 on theme library classes
Change-Id: I7ff7065de56e77b7ba24a98ada600e8eda006a6e
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
e03d7d13d9
universal7885: FMRadio: Make OneUI theme lib link statically
* Also, mark FM Hal is required for this app
2022-03-22 19:05:26 +09:00
roynatech2544
0519231d7b
universal7885: Add FMRadio app
* Created from scratch by me (Royna) with help of LineageOS repo [1], Sony Xperia Dev repo [2]
* Basic input/output, channel selection is working

[1]: https://github.com/LineageOS/android_hardware_samsung_slsi_fm
[2]: https://github.com/sonyxperiadev/vendor-qcom-opensource-fm

Change-Id: I922bbeb9f86e6a4c7bc993d27d2f9eeb2a712186
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:25 +09:00