-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException when DownloadService is re-started by Android and action is NULL #4488
Labels
Comments
ojw28
pushed a commit
that referenced
this issue
Jul 10, 2018
Also fixed showing "remove notification" when download is completed. Issue:#4469 Issue:#4488 ------------- Created by MOE: https:/google/moe MOE_MIGRATED_REVID=203927268
Fixed in |
ojw28
pushed a commit
that referenced
this issue
Jul 23, 2018
Also fixed showing "remove notification" when download is completed. Issue:#4469 Issue:#4488 ------------- Created by MOE: https:/google/moe MOE_MIGRATED_REVID=203927268
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue description
When DownloadService is re-launched by Android OS the intent passed on
onStartCommand
is NULL. Then a NPE is raised on DownloadService::230 ->switch (intentAction) {
As a temporary workaround you can protect the intent passed to DownloadService extending
onStartCommand
on your version ofDemoDownloadService
.Reproduction steps
Using ExoPlayer Demo:
Service will be started again by OS.
Version of ExoPlayer being used
2.8.2
Device(s) and version(s) of Android being used
Nexus 5X - 8.1.0,
Samsung S6 - 6.0.1
(Should be reproducible on any Android device/version)
A full bug report captured from the device
bugreport-bullhead-OPM2.171019.029-2018-07-09-13-12-43.zip
The text was updated successfully, but these errors were encountered: