mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Update src/org/thoughtcrime/securesms/connect/ForegroundDetector.java
Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
@@ -38,9 +38,7 @@ public class ForegroundDetector implements Application.ActivityLifecycleCallback
|
||||
if (refs == 0) {
|
||||
application.dcContext.maybeStartIo();
|
||||
if (application.dcContext.isNetworkConnected()) {
|
||||
new Thread(() -> {
|
||||
application.dcContext.maybeNetwork();
|
||||
});
|
||||
new Thread(() -> application.dcContext.maybeNetwork()).start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user