зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1214810 - Print a timestamp when Fennec is started r=esawin
This commit is contained in:
Родитель
62b6b77c10
Коммит
97e5df801f
|
@ -21,6 +21,7 @@ import android.app.Application;
|
|||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.SystemClock;
|
||||
import android.util.Log;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -124,6 +125,8 @@ public class GeckoApplication extends Application
|
|||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
Log.i(LOG_TAG, "zerdatime " + SystemClock.uptimeMillis() + " - Fennec application start");
|
||||
|
||||
final Context context = getApplicationContext();
|
||||
HardwareUtils.init(context);
|
||||
Clipboard.init(context);
|
||||
|
|
|
@ -486,7 +486,7 @@ public class GeckoThread extends Thread implements GeckoEventListener {
|
|||
if ("Gecko:Ready".equals(event)) {
|
||||
EventDispatcher.getInstance().unregisterGeckoThreadListener(this, event);
|
||||
setState(State.RUNNING);
|
||||
Log.w(LOGTAG, "zerdatime " + SystemClock.uptimeMillis() + " - Gecko ready");
|
||||
Log.i(LOGTAG, "zerdatime " + SystemClock.uptimeMillis() + " - Gecko ready");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче