mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 05:25:31 +03:00
Fix an issue with workmanager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f14614988d
commit
811769c2ab
2 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ android {
|
|||
targetSdkVersion 28
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 68
|
||||
versionName "3.1.0beta5"
|
||||
versionCode 69
|
||||
versionName "3.1.0beta6"
|
||||
|
||||
flavorDimensions "default"
|
||||
renderscriptTargetApi 19
|
||||
|
|
|
@ -135,7 +135,7 @@ public class NextcloudTalkApplication extends MultiDexApplication implements Lif
|
|||
OneTimeWorkRequest capabilitiesUpdateWork = new OneTimeWorkRequest.Builder(CapabilitiesWorker.class).build();
|
||||
OneTimeWorkRequest signalingSettingsWork = new OneTimeWorkRequest.Builder(SignalingSettingsJob.class).build();
|
||||
|
||||
WorkManager.initialize(getApplicationContext(), new Configuration.Builder().build());
|
||||
//WorkManager.initialize(getApplicationContext(), new Configuration.Builder().build());
|
||||
WorkManager.getInstance().enqueue(pushRegistrationWork);
|
||||
WorkManager.getInstance().enqueue(accountRemovalWork);
|
||||
WorkManager.getInstance().enqueue(capabilitiesUpdateWork);
|
||||
|
|
Loading…
Reference in a new issue