Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccc37f commit 3388678Copy full SHA for 3388678
src/com/alexbbb/uploadservice/UploadService.java
@@ -87,7 +87,7 @@ public static void startUpload(final UploadRequest task) throws IllegalArgumentE
87
} else {
88
task.validate();
89
90
- final Intent intent = new Intent(UploadService.class.getName());
+ final Intent intent = new Intent(task.getContext(), UploadService.class);
91
92
intent.setAction(getActionUpload());
93
intent.putExtra(PARAM_NOTIFICATION_CONFIG, task.getNotificationConfig());
0 commit comments