update shortcut

This commit is contained in:
onlymash authored and seven332 committed 2018-03-29 19:30:58 +08:00
1 parent 733ddb5964
commit f5409c7b8a
1 file changed
+1 -2
@@ -37,8 +37,7 @@ public class ShortcutsActivity extends Activity{
if (action.equals(DownloadService.ACTION_START_ALL)){
intent.setAction(DownloadService.ACTION_START_ALL);
startService(intent);
}
if (action.equals(DownloadService.ACTION_STOP_ALL)){
} else if (action.equals(DownloadService.ACTION_STOP_ALL)){
intent.setAction(DownloadService.ACTION_STOP_ALL);
startService(intent);
}