Search in sources :

Example 1 with BlockedNumbersAutoMigrator

use of com.android.dialer.filterednumber.BlockedNumbersAutoMigrator in project android_packages_apps_Dialer by MoKee.

the class DialerApplication method onCreate.

@Override
public void onCreate() {
    sContext = this;
    Trace.beginSection(TAG + " onCreate");
    super.onCreate();
    Trace.beginSection(TAG + " ExtensionsFactory initialization");
    ExtensionsFactory.init(getApplicationContext());
    Trace.endSection();
    new BlockedNumbersAutoMigrator(PreferenceManager.getDefaultSharedPreferences(this), new FilteredNumberAsyncQueryHandler(getContentResolver())).autoMigrate();
    Trace.endSection();
}
Also used : BlockedNumbersAutoMigrator(com.android.dialer.filterednumber.BlockedNumbersAutoMigrator) FilteredNumberAsyncQueryHandler(com.android.dialer.database.FilteredNumberAsyncQueryHandler)

Aggregations

FilteredNumberAsyncQueryHandler (com.android.dialer.database.FilteredNumberAsyncQueryHandler)1 BlockedNumbersAutoMigrator (com.android.dialer.filterednumber.BlockedNumbersAutoMigrator)1