microg / microg/GmsCore

com.pandora crashes on volume change

Open
#1,407 16 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Affected app
Name: Pandora
Package id: com.pandora

Describe the bug
App crashes whenever the volume is changed.

To Reproduce
Steps to reproduce the behavior:

  1. Open Pandora
  2. Change the volume level
  3. App crashes

Expected behavior
Volume changes without a crash

Screenshots
If applicable, add screenshots to help explain your problem.

System
Android Version: 9
Custom ROM: LineageOS 16.0

microG
microG Core version: 0.2.17.204714
microG Self-Check results: All ticked

Additional context
adb says the culprit is an attempt to call CastDevice's getModelName() on a null pointer, but I was unable to figure out much beyond that.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with Pandora on Android 9 and inspect the adb stack trace around CastDevice.getModelName() during a volume change. Trace that call through the volume-change path; done means changing the volume no longer crashes the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.