mirror of
https://github.com/samsonjs/media.git
synced 2026-04-12 12:25:47 +00:00
Fix broken notification (missing line in onStartCommand)
Also only listen to requirements when actually necessary, else we can put the service into the foreground when it needn't be there. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195597750
This commit is contained in:
parent
7afdf84a9d
commit
6e8867c39e
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ public abstract class DownloadService extends Service {
|
|||
|
||||
@Override
|
||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||
lastStartId = startId;
|
||||
String intentAction = null;
|
||||
if (intent != null) {
|
||||
intentAction = intent.getAction();
|
||||
|
|
|
|||
Loading…
Reference in a new issue