|
@@ -182,7 +182,7 @@ public class OperationsService extends Service {
|
|
|
|
|
|
// WIP: for the moment, only SYNC_FOLDER is expected here;
|
|
|
// the rest of the operations are requested through the Binder
|
|
|
- if (ACTION_SYNC_FOLDER.equals(intent.getAction())) {
|
|
|
+ if (intent != null && ACTION_SYNC_FOLDER.equals(intent.getAction())) {
|
|
|
|
|
|
if (!intent.hasExtra(EXTRA_ACCOUNT) || !intent.hasExtra(EXTRA_REMOTE_PATH)) {
|
|
|
Log_OC.e(TAG, "Not enough information provided in intent");
|