google / google/ExoPlayer

PlayerNotificationManager creted 2 notifications after restart device

Open
#10,608 2 comments 1 reaction 1 assignee Claimed by @marcbaechinger View on GitHub
bug needs triage
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.18.1

### Devices that reproduce the issue

sumsung s22+ android 12

### Devices that do not reproduce the issue

_No response_

### Reproducible in the demo app?

Not tested

### Reproduction steps

build this app https://github.com/ivan12312312/test
grand permisions
start app
play any music in app
restart app
after restart device viewed 2 notificationis(bug)

### Expected result

view one notification or not view notication

### Actual result

after restart device viewed 2 notificationis

### Media

![1 notification](https://i.ibb.co/5WNcJzp/test.jpg)
![2 notification](https://i.ibb.co/bz1k8hG/test2.jpg)

### Bug Report

- [ ] You will email the zip file produced by `adb bugreport` to dev.exoplayer@gmail.com after filing this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.