mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Cleanup
This commit is contained in:
@@ -280,15 +280,13 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
private void checkConnectivity() {
|
||||
if (Looper.myLooper() == Looper.getMainLooper())
|
||||
_checkConnectivity();
|
||||
else {
|
||||
Log.e(new Throwable("Not on main thread"));
|
||||
else
|
||||
new Handler(Looper.getMainLooper()).post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
_checkConnectivity();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void _checkConnectivity() {
|
||||
|
||||
Reference in New Issue
Block a user