Benjamin-Loison / android_packages_apps_FMRadio

0 stars 0 forks source link

Not included/installable on Fairphone 4 build?? #2

Open Benjamin-Loison opened 2 months ago

Benjamin-Loison commented 2 months ago

Should investigate https://search.f-droid.org/?q=Radio&lang=en.

Note that https://search.f-droid.org/?q=FMRadio&lang=en does not return any entry and https://search.f-droid.org/?q=FM+Radio&lang=en only returns https://f-droid.org/en/packages/fm.a2d.sf/

On a relative Xiaomi Mi A3 FM Radio works fine with earphones:

-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAqhVUeovm83qhmf0rVFQYH2ANI5LN+wIZkhpQU463/C0w
Tjvki23Avc8uT5XU27cRLRKociw3xAcHeEZIFeKUDUKHGkJzdwTcJPzDzaoCgMhR
0kABoQiG3rwb7vMH8tFbJ3WOcOCEwc+8LbkJGPwoteg3NSPRWyV6d/ktAjnpc+o7
VIEzuZuXvDSiavou69wCHeUU
=kh4t
-----END PGP MESSAGE-----
adb shell cmd package list packages | grep -i radio
package:com.caf.fmradio

On my Fairphone 4 I get:

adb shell cmd package list packages | grep -i radio
package:com.android.fmradio

However, search Radio does not return any app.

adb shell monkey -p com.android.calculator2 -c android.intent.category.LAUNCHER 1
  bash arg: -p
  bash arg: com.android.calculator2
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.android.calculator2, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.android.calculator2"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.android.calculator2"
data="android.intent.category.LAUNCHER"
Events injected: 1
## Network stats: elapsed time=38ms (0ms mobile, 0ms wifi, 38ms not connected)

Source: the Stack Overflow answer 25398877

starts fine the Calculator for instance.

However, it does not start the radio app:

adb shell monkey -p com.android.fmradio -c android.intent.category.LAUNCHER 1
  bash arg: -p
  bash arg: com.android.fmradio
  bash arg: -c
  bash arg: android.intent.category.LAUNCHER
  bash arg: 1
args: [-p, com.android.fmradio, -c, android.intent.category.LAUNCHER, 1]
 arg: "-p"
 arg: "com.android.fmradio"
 arg: "-c"
 arg: "android.intent.category.LAUNCHER"
 arg: "1"
data="com.android.fmradio"
data="android.intent.category.LAUNCHER"
** No activities found to run, monkey aborted.
Benjamin-Loison commented 1 week ago

Related to Benjamin-Loison/android/issues/46 to test Fairphone OS and LineageOS for MicroG for instance.

Benjamin-Loison commented 1 week ago

https://wiki.lineageos.org/devices/FP4/ does not mention radio neither FM case-insensitively.