use of com.secupwn.aimsicd.data.DefaultDataTransaction in project Android-IMSI-Catcher-Detector by CellularPrivacy.
the class AndroidIMSICatcherDetector method onCreate.
@Override
public void onCreate() {
UncaughtExceptionLogger.init();
instance = new WeakReference<>(this);
addModule(new AndroidLoggerModule());
addModule(OkHttpModule.withCache(this));
super.onCreate();
RealmConfiguration realmConfiguration = new RealmConfiguration.Builder(this).deleteRealmIfMigrationNeeded().initialData(new DefaultDataTransaction()).build();
Realm.setDefaultConfiguration(realmConfiguration);
TinyDB.getInstance().init(getApplicationContext());
TinyDB.getInstance().putBoolean(TinyDbKeys.FINISHED_LOAD_IN_MAP, true);
}
Aggregations