api-impl: misc additions for Oeffi

This commit is contained in:
Julian Winkler
2024-11-22 18:02:54 +01:00
committed by Mis012
parent 7626992241
commit f53ad02e6f
32 changed files with 265 additions and 15 deletions

View File

@@ -69,4 +69,12 @@ public class ContentResolver {
else
return null;
}
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
ContentProvider provider = ContentProvider.providers.get(uri.getAuthority());
if (provider != null)
return provider.update(uri, values, selection, selectionArgs);
else
return 0;
}
}