[BUG] ANR
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading GramophonePlaybackService.kt around onPositionDiscontinuity, scheduleSendingLyrics, and sendLyricNow, then follow the calls into LyricWidgetProvider.java around update and appWidgetIds. Investigate why the widget-ID lookup blocks in the reported ANR; the issue does not provide reproduction steps or expected behavior, so confirm those before defining what counts as fixed.
Written by the indexing model from the issue text.
Description
at android.os.BinderProxy.transact (BinderProxy.java:736)
at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.getAppWidgetIds (IAppWidgetService.java:1242)
at android.appwidget.AppWidgetManager.getAppWidgetIds (AppWidgetManager.java:1396)
at org.akanework.gramophone.ui.LyricWidgetProvider$Companion.appWidgetIds (LyricWidgetProvider.java:149)
at org.akanework.gramophone.ui.LyricWidgetProvider$Companion.update (LyricWidgetProvider.java:119)
at org.akanework.gramophone.logic.GramophonePlaybackService.sendLyricNow (GramophonePlaybackService.kt:1656)
at org.akanework.gramophone.logic.GramophonePlaybackService.scheduleSendingLyrics (GramophonePlaybackService.kt:1632)
at org.akanework.gramophone.logic.GramophonePlaybackService.onPositionDiscontinuity (GramophonePlaybackService.kt:1627)
at androidx.media3.session.MediaControllerImplBase.lambda$notifyPlayerInfoListenersWithReasons$86 (MediaControllerImplBase.java:2563)
at androidx.media3.common.util.ListenerSet$ListenerHolder.invoke (ListenerSet.java:419)
at androidx.media3.common.util.ListenerSet.lambda$queueEvent$0 (ListenerSet.java:289)
at androidx.media3.common.util.ListenerSet.flushEvents (ListenerSet.java:311)
at androidx.media3.session.MediaControllerImplBase.notifyPlayerInfoListenersWithReasons (MediaControllerImplBase.java:2711)
at androidx.media3.session.MediaControllerImplBase.onPlayerInfoChanged (MediaControllerImplBase.java:3076)
at androidx.media3.session.MediaControllerStub.lambda$onPlayerInfoChangedWithExclusions$12 (MediaControllerStub.java:308)
at androidx.media3.session.MediaControllerStub.lambda$dispatchControllerTaskOnHandler$18 (MediaControllerStub.java:429)
at androidx.media3.common.util.Util.postOrRun (Util.java:805)
at androidx.media3.session.MediaControllerStub.dispatchControllerTaskOnHandler (MediaControllerStub.java:421)
at androidx.media3.session.MediaControllerStub.onPlayerInfoChangedWithExclusions (MediaControllerStub.java:307)
at androidx.media3.session.MediaSessionStub$Controller2Cb.onPlayerInfoChanged (MediaSessionStub.java:2353)
at androidx.media3.session.MediaSessionImpl.dispatchOnPlayerInfoChanged (MediaSessionImpl.java:792)
at androidx.media3.session.MediaSessionImpl.access$900 (MediaSessionImpl.java:105)
at androidx.media3.session.MediaSessionImpl$PlayerInfoChangedHandler.handleMessage (MediaSessionImpl.java:2241)
at android.os.Handler.dispatchMessage (Handler.java:114)
at android.os.Looper.loopOnce (Looper.java:274)
at android.os.Looper.loop (Looper.java:369)
at android.app.ActivityThread.main (ActivityThread.java:10090)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:616)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1137)
- Dominant language
- Kotlin
- Stars
- 2.3k
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FoedusProgramme/Gramophone
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
FoedusProgramme/Gramophone#1048 ·
-
need confirm
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FoedusProgramme/Gramophone#1024 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 18/100
FoedusProgramme/Gramophone#1052 · 4 comments ·
-
need confirm
Difficulty 4/5 3-5 days Newbie friendliness 48/100
FoedusProgramme/Gramophone#1051 · 2 comments ·
-
need confirm
Difficulty 3/5 1-2 days Newbie friendliness 45/100
FoedusProgramme/Gramophone#1050 ·
All issues in FoedusProgramme/Gramophone
Similar issues
-
assertions 🔍
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openwallet-foundation/multipaz#2161 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
kushagrasinghx/BitChord#1498 ·
Maintainers usually reply within 1 day
-
Bug Domain changed
Difficulty 1/5 Under an hour Newbie friendliness 62/100
keiyoushi/extensions-source#20732 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AChep/keyguard-app#1665 ·
Maintainers usually reply within 1 day