use of com.android.dialer.speeddial.database.SpeedDialEntryDatabaseHelper in project android_packages_apps_Dialer by LineageOS.
the class DisambigDialog method updateDatabaseEntry.
@WorkerThread
private static void updateDatabaseEntry(Context appContext, SpeedDialUiItem item, Channel channel) {
Assert.isWorkerThread();
SpeedDialEntry entry = SpeedDialEntry.builder().setId(item.speedDialEntryId()).setContactId(item.contactId()).setLookupKey(item.lookupKey()).setDefaultChannel(channel).build();
new SpeedDialEntryDatabaseHelper(appContext).update(ImmutableList.of(entry));
}
Aggregations