lingochamp / lingochamp/FileDownloader

应用重启,下载的数据异常

Open
#1,395 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

你好,任务正在下载中,杀掉进程,此时下载的状态、进度都是初始值。如果在应用启动的时候调用FileDownloader.getImpl().bindService(),发现数据能够回复正常。但是此时通知栏就有通知,请问下难道不是只在下载的时候才启用前台服务吗

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 tracing the application-startup path around FileDownloader.getImpl().bindService() and the download state restoration lifecycle. Reproduce a process kill during a download, then check whether persisted state is restored and when the foreground-service notification appears; done means the observed restart behavior and notification timing are resolved or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
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.