use of com.android.dialer.blocking.BlockedNumbersAutoMigrator in project android_packages_apps_Dialer by LineageOS.
the class DialerApplication method onCreate.
@Override
public void onCreate() {
Trace.beginSection("DialerApplication.onCreate");
if (BuildType.get() == BuildType.BUGFOOD) {
enableStrictMode();
}
super.onCreate();
new BlockedNumbersAutoMigrator(this.getApplicationContext(), new FilteredNumberAsyncQueryHandler(this), new DefaultDialerExecutorFactory()).asyncAutoMigrate();
CallLogComponent.get(this).callLogFramework().registerContentObservers(getApplicationContext());
PersistentLogger.initialize(this);
if (BuildCompat.isAtLeastO()) {
NotificationChannelManager.initChannels(this);
}
Trace.endSection();
}
Aggregations