package com.taoke.autopay.android;
|
|
import android.app.Application;
|
|
import timber.log.Timber;
|
|
public class App extends Application {
|
|
private static App INSTANCE;
|
|
public static App getInstance() {
|
return INSTANCE;
|
}
|
|
@Override
|
@SuppressWarnings("all")
|
public void onCreate() {
|
super.onCreate();
|
INSTANCE = this;
|
if (BuildConfig.DEBUG) {
|
Timber.plant((Timber.Tree) (Object) new Timber.DebugTree());
|
}
|
}
|
}
|