diff --git a/app/src/main/java/com/hippo/ehviewer/shortcuts/ShortcutsActivity.java b/app/src/main/java/com/hippo/ehviewer/shortcuts/ShortcutsActivity.java index 9c45b1b63..2987bde1e 100644 --- a/app/src/main/java/com/hippo/ehviewer/shortcuts/ShortcutsActivity.java +++ b/app/src/main/java/com/hippo/ehviewer/shortcuts/ShortcutsActivity.java @@ -34,7 +34,8 @@ public class ShortcutsActivity extends Activity{ Intent intent = getIntent(); if (intent != null){ action = intent.getAction(); - if (action != null){ + if (action != null && (action.equals(DownloadService.ACTION_START_ALL) || + action.equals(DownloadService.ACTION_STOP_ALL))){ startService(new Intent(this, DownloadService.class).setAction(action)); } }