Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
This repository was archived by the owner on May 29, 2025. It is now read-only.

Gramophone causes System UI crash #559

@MarGar12

Description

@MarGar12

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:

  1. Install StatusBar Lyric
  2. Configure it
  3. Open Gramophone/Play music in it
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions