Skip to content

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