From c0269fcfa876b9c5cf309b2006462b4d09c5ef95 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 28 七月 2021 18:09:02 +0800 Subject: [PATCH] 包名及目录修改 --- MDownloadProvider/src/com/mozillaonline/providers/downloads/DownloadInfo.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/MDownloadProvider/src/com/mozillaonline/providers/downloads/DownloadInfo.java b/MDownloadProvider/src/com/mozillaonline/providers/downloads/DownloadInfo.java index 52b4f61..e7ed37a 100644 --- a/MDownloadProvider/src/com/mozillaonline/providers/downloads/DownloadInfo.java +++ b/MDownloadProvider/src/com/mozillaonline/providers/downloads/DownloadInfo.java @@ -380,11 +380,8 @@ if (!Downloads.isStatusCompleted(mStatus)) { return false; } - if (mVisibility == Downloads.VISIBILITY_VISIBLE_NOTIFY_COMPLETED) { - return true; - } - return false; - } + return mVisibility == Downloads.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; + } /** * Returns whether this download is allowed to use the network. -- Gitblit v1.8.0