Skip to content
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

Feature/handler download service is running status not reset on def dilaog close btn tap #67

Conversation

Jiiiiiin
Copy link
Contributor

@Jiiiiiin Jiiiiiin commented Apr 6, 2018

解决dismissNotificationProgress时候,关闭def dialog,download service没有被停止的问题:

 public void checkNewApp(final UpdateCallback callback) {
        if (callback == null) {
            return;
        }
        callback.onBefore();

        if (DownloadService.isRunning || UpdateDialogFragment.isShow) {
            callback.onAfter();
// 只要点击下载,设置了dismissNotificationProgress还是会报这句话的问题
            Toast.makeText(mActivity, "app正在更新", Toast.LENGTH_SHORT).show();
            return;
        }

@WVector WVector merged commit 837a54e into WVector:master Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants