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:
roynatech2544 2022-02-28 18:05:41 +09:00
commit 9443bdc315
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
17 changed files with 312 additions and 142 deletions

View file

@ -21,11 +21,11 @@
android:name=".FMRadioService"
android:exported="false">
<intent-filter>
<action android:name="com.eurekateam.fmradio.STARTBG" />
<action android:name="com.eurekateam.fmradio.PLAY_FM"/>
<action android:name="com.eurekateam.fmradio.NEXT"/>
<action android:name="com.eurekateam.fmradio.BEFORE"/>
<action android:name="com.eurekateam.fmradio.QUIT"/>
<action android:name="com.eurekateam.fmradio.OUTPUT"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>