mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 13:35:33 +03:00
Update for new work manager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
2788de29a3
commit
8540369ccc
5 changed files with 5 additions and 5 deletions
|
@ -163,6 +163,6 @@ public class CapabilitiesWorker extends Worker {
|
|||
});
|
||||
}
|
||||
|
||||
return Result.SUCCESS;
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -509,6 +509,6 @@ public class NotificationWorker extends Worker {
|
|||
} catch (Exception exception) {
|
||||
Log.d(TAG, "Something went very wrong " + exception.getLocalizedMessage());
|
||||
}
|
||||
return Result.SUCCESS;
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,6 @@ public class PushRegistrationWorker extends Worker {
|
|||
pushUtils.generateRsa2048KeyPair();
|
||||
pushUtils.pushRegistrationToServer();
|
||||
|
||||
return Result.SUCCESS;
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,6 +155,6 @@ public class SignalingSettingsJob extends Worker {
|
|||
OneTimeWorkRequest websocketConnectionsWorker = new OneTimeWorkRequest.Builder(WebsocketConnectionsWorker.class).build();
|
||||
WorkManager.getInstance().enqueue(websocketConnectionsWorker);
|
||||
|
||||
return Result.SUCCESS;
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,6 +81,6 @@ public class WebsocketConnectionsWorker extends Worker {
|
|||
}
|
||||
}
|
||||
|
||||
return Result.SUCCESS;
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue