|
@@ -43,8 +43,6 @@ import com.nextcloud.talk.utils.DisplayUtils;
|
|
import com.nextcloud.talk.utils.database.user.UserModule;
|
|
import com.nextcloud.talk.utils.database.user.UserModule;
|
|
import com.nextcloud.talk.utils.singletons.ApplicationWideStateHolder;
|
|
import com.nextcloud.talk.utils.singletons.ApplicationWideStateHolder;
|
|
import com.nextcloud.talk.webrtc.MagicWebRTCUtils;
|
|
import com.nextcloud.talk.webrtc.MagicWebRTCUtils;
|
|
-import com.squareup.leakcanary.LeakCanary;
|
|
|
|
-import com.squareup.leakcanary.RefWatcher;
|
|
|
|
|
|
|
|
import org.webrtc.PeerConnectionFactory;
|
|
import org.webrtc.PeerConnectionFactory;
|
|
import org.webrtc.voiceengine.WebRtcAudioManager;
|
|
import org.webrtc.voiceengine.WebRtcAudioManager;
|
|
@@ -77,10 +75,6 @@ import autodagger.AutoInjector;
|
|
public class NextcloudTalkApplication extends MultiDexApplication implements LifecycleObserver {
|
|
public class NextcloudTalkApplication extends MultiDexApplication implements LifecycleObserver {
|
|
private static final String TAG = NextcloudTalkApplication.class.getSimpleName();
|
|
private static final String TAG = NextcloudTalkApplication.class.getSimpleName();
|
|
|
|
|
|
- //region Public variables
|
|
|
|
- public static RefWatcher refWatcher;
|
|
|
|
- //endregion
|
|
|
|
-
|
|
|
|
//region Singleton
|
|
//region Singleton
|
|
protected static NextcloudTalkApplication sharedApplication;
|
|
protected static NextcloudTalkApplication sharedApplication;
|
|
//region Fields (components)
|
|
//region Fields (components)
|
|
@@ -126,7 +120,6 @@ public class NextcloudTalkApplication extends MultiDexApplication implements Lif
|
|
buildComponent();
|
|
buildComponent();
|
|
|
|
|
|
componentApplication.inject(this);
|
|
componentApplication.inject(this);
|
|
- refWatcher = LeakCanary.install(this);
|
|
|
|
|
|
|
|
new ClosedInterfaceImpl().providerInstallerInstallIfNeededAsync();
|
|
new ClosedInterfaceImpl().providerInstallerInstallIfNeededAsync();
|
|
DeviceUtils.ignoreSpecialBatteryFeatures();
|
|
DeviceUtils.ignoreSpecialBatteryFeatures();
|