google / google/ExoPlayer

[demo app] Ongoing downloads not resumed after reboot

Open
#10,903 2 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
wont fix: intended behavior
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### ExoPlayer Version

2.18.2

### Devices that reproduce the issue

I posted it here https://github.com/google/ExoPlayer/issues/8645#issuecomment-1369657451 after which,
I checked on your demo app RECEIVE_BOOT_COMPLETED is not working/ once we restart mobile downloads wont resume.
In my app i noticed this issue (the downloads dont resume in it unless we open the app again)am using https://exoplayer.dev/downloading-media.html but still its not working on device reboot. Is there a way i could get logs when on action.BOOT_COMPLETED? could we get some logs or to test this?. Also i want to listen to this, show notification of download progress and check that iam connected to a specific server. I want to make sure with less user intervention once requested for download it should complete when connected.

### Devices that do not reproduce the issue

checked on OPPO A74 5G
Model CPH2263.
Android 12

### Reproducible in the demo app?

Yes

### Reproduction steps

In demo app (com.google.android.exoplayer2.demo)
1. Download multiple files ->it will show download progress in notification.
2. restart mobile
3. download not restarted

### Expected result

the download should resume

### Actual result

no download progress notification displayed,
download not resumed

### Media

I cannot record it as it happening when mobile restarted.

### Bug Report

- [X] 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.