mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Refactoring
This commit is contained in:
@@ -117,6 +117,14 @@ public class ApplicationEx extends Application {
|
||||
|
||||
registerReceiver(onScreenOff, new IntentFilter(Intent.ACTION_SCREEN_OFF));
|
||||
|
||||
if (BuildConfig.DEBUG)
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
DnsHelper.test(ApplicationEx.this);
|
||||
}
|
||||
}).start();
|
||||
|
||||
long end = new Date().getTime();
|
||||
Log.i("App created " + (end - start) + " ms");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user