mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
32566eceae
commit
c48969253f
@ -112,7 +112,6 @@ public class NextcloudTalkApplication extends MultiDexApplication {
|
|||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
new ClosedInterfaceImpl().ProviderInstallerInstallIfNeededAsync();
|
|
||||||
|
|
||||||
JobManager.create(this).addJobCreator(new MagicJobCreator());
|
JobManager.create(this).addJobCreator(new MagicJobCreator());
|
||||||
|
|
||||||
@ -132,6 +131,7 @@ public class NextcloudTalkApplication extends MultiDexApplication {
|
|||||||
componentApplication.inject(this);
|
componentApplication.inject(this);
|
||||||
refWatcher = LeakCanary.install(this);
|
refWatcher = LeakCanary.install(this);
|
||||||
|
|
||||||
|
new ClosedInterfaceImpl().ProviderInstallerInstallIfNeededAsync();
|
||||||
DeviceUtils.ignoreSpecialBatteryFeatures();
|
DeviceUtils.ignoreSpecialBatteryFeatures();
|
||||||
|
|
||||||
new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();
|
new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();
|
||||||
|
Loading…
Reference in New Issue
Block a user