This repository was archived by the owner on May 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
This repository was archived by the owner on May 29, 2025. It is now read-only.
Gramophone causes System UI crash #559
Copy link
Copy link
Open
Description
Describe the bug
When using StatusBar Lyric, upon opening Gramophone, it crashes System UI instantly (when Status Bar Lyrics option is on). When you manage to play any music, it will repeatedly crash System UI.
To Reproduce
Steps to reproduce the behavior:
- Install StatusBar Lyric
- Configure it
- Open Gramophone/Play music in it
- See error
Expected behavior
Lyrics Display with no errors and crashes
Screenshots
N/A
Smartphone (please complete the following information):
- Device: Xiaomi Redmi Note 13 Pro 5G
- OS: Android 15 QPR2 (AOSP)
- App Version: 1.0.16.1 (Release)
Additional context
When you tinker it enough, it might start working properly, but after a reboot, it will break again. This error does not occur in HyperOS though. I can also confirm the module is not broken because Lyrics Getter has a lyrics tester and it works fine there.
https://github.com/Block-Network/StatusBarLyric
Crash Log:
FATAL EXCEPTION: main
Process: com.android.systemui, PID: 11572
java.lang.RuntimeException: Null or empty currentSystemRoutes. Something is wrong.
at android.media.MediaRouter2.loadSystemRoutes(MediaRouter2.java:664)
at android.media.MediaRouter2.<init>(MediaRouter2.java:643)
at android.media.MediaRouter2.findOrCreateProxyInstanceForCallingUser(MediaRouter2.java:436)
at android.media.MediaRouter2.getInstance(MediaRouter2.java:393)
at com.android.settingslib.media.RouterInfoMediaManager.<init>(go/retraceme a2d503061ac05e22cb68c54f4fde82cf7c76bb78d80ddebb236ba110798ec387:39)
at com.android.settingslib.media.InfoMediaManager.createInstance(go/retraceme a2d503061ac05e22cb68c54f4fde82cf7c76bb78d80ddebb236ba110798ec387:34)
at com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager.onMediaDataLoaded(go/retraceme a2d503061ac05e22cb68c54f4fde82cf7c76bb78d80ddebb236ba110798ec387:120)
at com.android.systemui.media.controls.domain.pipeline.MediaDataManager$Listener.onMediaDataLoaded$default(go/retraceme a2d503061ac05e22cb68c54f4fde82cf7c76bb78d80ddebb236ba110798ec387:30)
at com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilter$onMediaDataLoaded$1.run(go/retraceme a2d503061ac05e22cb68c54f4fde82cf7c76bb78d80ddebb236ba110798ec387:45)
at android.os.Handler.handleCallback(Handler.java:991)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8934)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
Metadata
Metadata
Assignees
Labels
No labels