Refactoring

This commit is contained in:
M66B
2020-04-16 18:09:55 +02:00
parent 1f8079e773
commit 032910771b
3 changed files with 81 additions and 41 deletions

View File

@@ -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");
}