Search in sources :

Example 1 with TinkerUncaughtHandler

use of com.tencent.tinker.loader.TinkerUncaughtHandler in project tinker by Tencent.

the class TinkerApplication method attachBaseContext.

@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    final long applicationStartElapsedTime = SystemClock.elapsedRealtime();
    final long applicationStartMillisTime = System.currentTimeMillis();
    Thread.setDefaultUncaughtExceptionHandler(new TinkerUncaughtHandler(this));
    onBaseContextAttached(base, applicationStartElapsedTime, applicationStartMillisTime);
}
Also used : TinkerUncaughtHandler(com.tencent.tinker.loader.TinkerUncaughtHandler)

Aggregations

TinkerUncaughtHandler (com.tencent.tinker.loader.TinkerUncaughtHandler)1